[haiku-bugs] Re: [Haiku] #9434: [Tracker] wrong column display + crash in BBitmap::Lock()

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Feb 2013 21:35:49 -0000

#9434: [Tracker] wrong column display + crash in BBitmap::Lock()
------------------------------------+-------------------------
   Reporter:  ttcoder               |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Tracker  |    Version:  R1/alpha4.1
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+-------------------------

Comment (by ttcoder):

 For the record,

 The fix in hrev45275 has this key part:

 {{{
 +               fStatus(B_NO_INIT),
 +               fType('CSTR'),
 +               fViewable(true),
 +               fEditable(false),
 +               fExtra(false),
 +               fWidth(0),
 +               fAlignment(0)
 }}}

 So anyone looking for a vulnerability / a way to crash Tracker might want
 to create an intentionally broken version of setmime that changes the
 above to {{{fWidth(4000.0), fType(0xdeadbeef)}}} ..etc and maybe that will
 do the trick, opening a folder / the resulting column will crash...

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

Other related posts: