[haiku-bugs] [Haiku] #12087: Off by one error in BMessage::SetCurrentSpecifier

  • From: "AGMS" <trac@xxxxxxxxxxxx>
  • Date: Fri, 22 May 2015 15:16:28 -0000

#12087: Off by one error in BMessage::SetCurrentSpecifier
--------------------------------+------------------------------------------
Reporter: AGMS | Owner: axeld
Type: bug | Status: new
Priority: low | Milestone: Unscheduled
Component: Kits/Application | Version: R1/Development
Kit | Keywords: BMessage SetCurrentSpecifier
Resolution: | Blocking:
Blocked By: | Platform: All
Has a Patch: 0 |
--------------------------------+------------------------------------------

Attachment added (by AGMS):

0001-Off-by-one-error-in-BMessage-SetCurrentSpecifier.patch (757 bytes) - Just
change the test to be >= count to avoid the bug.

View the file at
https://dev.haiku-os.org/attachment/ticket/12087/0001-Off-by-one-error-in-BMessage-SetCurrentSpecifier.patch

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

Other related posts: