[haiku-bugs] [Haiku] #12821: BView::GetMouse() sometimes crashes if the BPoint* parameter is NULL

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Sat, 18 Jun 2016 21:43:47 -0000

#12821: BView::GetMouse() sometimes crashes if the BPoint* parameter is NULL
--------------------------------+------------------------------
 Reporter:  waddlesplash        |        Owner:  axeld
     Type:  bug                 |       Status:  new
 Priority:  normal              |    Milestone:  Unscheduled
Component:  Kits/Interface Kit  |      Version:  R1/Development
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 http://xref.plausible.coop/source/xref/haiku/src/kits/interface/View.cpp#1597
 passes {{{_location}}} to FindPoint() without checking if it's NULL or
 not.

 Found while working on the new Mandelbrot app.

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

Other related posts: