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:18:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

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

Attached is another failing test.



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



Dmitri.
-- 


(file #44673)
    _______________________________________________________

Additional Item Attachment:

File name: t2.m                           Size:0 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]