[haiku-bugs] Re: [Haiku] #6990: [runtime_loader] possible out of bound array access

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Dec 2010 12:33:26 -0000

#6990: [runtime_loader] possible out of bound array access
------------------------------------+------------------------------
  Reporter:  korli                  |        Owner:  bonefish
      Type:  bug                    |       Status:  new
  Priority:  normal                 |    Milestone:  R1
 Component:  System/runtime_loader  |      Version:  R1/Development
Resolution:                         |     Keywords:
Blocked By:                         |  Has a Patch:  0
  Platform:  All                    |     Blocking:
------------------------------------+------------------------------
Changes (by bonefish):

 * version:  R1/alpha2 => R1/Development


Comment:

 Yep, a check is missing in both instances. 0 can be supplied for the
 `get_image_region_load_address()` parameter instead -- it is ignored for
 `index == 0` anyway.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6990#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: