Opened 3 years ago

Closed 3 years ago

#12821 closed bug (fixed)

BView::GetMouse() sometimes crashes if the BPoint* parameter is NULL

Reported by: waddlesplash Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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.

Change History (1)

comment:1 by waddlesplash, 3 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev50596.

Note: See TracTickets for help on using tickets.