[haiku-bugs] [Haiku] #9487: GIFLoad array subscript below array bounds

  • From: "pdziepak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 28 Feb 2013 22:40:18 -0000

#9487: GIFLoad array subscript below array bounds
-------------------------------------+----------------------
 Reporter:  pdziepak                 |        Owner:  nobody
     Type:  bug                      |       Status:  new
 Priority:  normal                   |    Milestone:  R1
Component:  Add-Ons/Translators/GIF  |      Version:
 Keywords:                           |   Blocked By:
 Blocking:                           |  Has a Patch:  0
 Platform:  All                      |
-------------------------------------+----------------------
 Due to variable range propagation enabled GCC notices (incorrectly) that
 {{{
 newEntry[fOldCodeLength] = *fOldCode;
 }}}
 may be unsafe due to fOldCodeLength being a signed integer. When building
 under Haiku it results in a warning which is treated as an error.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9487>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: