[haiku-bugs] Re: [Haiku] #6034: BFS Panics

  • From: "AGMS" <trac@xxxxxxxxxxxx>
  • Date: Fri, 31 Oct 2014 21:31:16 -0000

#6034: BFS Panics
--------------------------------+-------------------------
   Reporter:  bryanv            |      Owner:  axeld
       Type:  bug               |     Status:  in-progress
   Priority:  critical          |  Milestone:  R1
  Component:  File Systems/BFS  |    Version:  R1/alpha2
 Resolution:                    |   Keywords:  Panics
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  x86
--------------------------------+-------------------------

Comment (by AGMS):

 Replying to [comment:23 axeld]:
 Speaking of long keys, watch out for string keys that are UTF-8 and have a
 multibyte character split at the 256 byte index truncation limit.
 Comparing those strings may read past the end of the buffer even if you
 stuck a NUL byte at the end.  Should be safe with 4 NULs appended when
 doing the comparison.  I don't know if the existing code handles that
 case.

--
Ticket URL: <https://dev.haiku-os.org/ticket/6034#comment:24>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: