[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match orig
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration |
Date: |
Thu, 10 May 2018 21:18:23 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #8, bug #53872 (project octave):
Oh, and after actually reading the manual description of the
-Walloc-size-larger-than= option, I see the problem with the new expression.
NEED is signed and not checked to ensure that it is always greater than 0, so
could be -1, which when cast to size_t would be greater than SIZE_MAX / 2.
I'm surprised this is the only warning we see about that kind of issue in
Octave.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53872>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, Dmitri A. Sergatskov, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, Mike Miller, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, Dmitri A. Sergatskov, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, Dmitri A. Sergatskov, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, John W. Eaton, 2018/05/10
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration,
John W. Eaton <=
- [Octave-bug-tracker] [bug #53872] type of 'xilaenv_' does not match original declaration, John W. Eaton, 2018/05/11