octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54405] octave_idx_type index integer overflow


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #54405] octave_idx_type index integer overflow math check doesn't work correctly
Date: Tue, 31 Jul 2018 21:09:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #16, bug #54405 (project octave):

I do not understand what is happening (and why):



octave:1> debug_on_error (1)
octave:2> t1
error: fread: size too large for Octave's index type
error: called from
    t1 at line 27 column 18
stopped in /home/dima/src/octave/gcc_def/t1.m at line 27
27:      [data, count] = fread (id, [2, 10], 'int16');
debug> 



File attached.

Dmitri.
-- 


(file #44672)
    _______________________________________________________

Additional Item Attachment:

File name: t1.m                           Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54405>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]