[haiku-bugs] Re: [Haiku] #8369: boot image ( ISO and vmdk )

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Mar 2012 13:52:30 -0000

#8369: boot image ( ISO and vmdk )
-------------------------------------+----------------------------
   Reporter:  rayman                 |      Owner:  korli
       Type:  bug                    |     Status:  assigned
   Priority:  blocker                |  Milestone:  R1/alpha4
  Component:  File Systems/ISO 9660  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:  8387
Has a Patch:  0                      |   Platform:  x86
-------------------------------------+----------------------------
Changes (by anevilyak):

 * owner:  nobody => korli
 * component:  - General => File Systems/ISO 9660


Comment:

 The cause is hrev43777, specifically: http://cgit.haiku-
 os.org/haiku/diff/src/add-
 
ons/kernel/file_systems/iso9660/iso9660.cpp?id=eb5f36397841abfc740031fde56ca5e4dee9fdd3

 The problem is
 {{{
 slFlags = *(uint8*)(buffer + bytePos++);
 }}}

 Though the var itself was not used, it incremented bytePos as a side
 effect. After the change in hrev43777, this no longer occurs, leading to
 things like symlinks getting misparsed.

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

Other related posts: