|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #54405] octave_idx_type index integer overflow math check doesn't work correctly |
| Date: | Wed, 1 Aug 2018 00:10:07 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #30, bug #54405 (project octave):
An Inf value in fread size is converted to -1, so NR*NC will not be tested for
overflow. The check is only done when NR > 0 && NC > 0.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54405>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |