Opened 4 years ago

Closed 4 years ago

#15715 closed defect (fixed)

NULL check required in wxRichTextBuffer::SetStyleSheetAndNotify()

Reported by: ikamakj Owned by:
Priority: normal Milestone:
Component: wxRichText Version: 2.9.5
Keywords: wxRichTextBuffer Cc:
Blocked By: Blocking:
Patch: no


SetStyleSheetAndNotify() crashes for a standalone wxRichTextBuffer object. Although the return value of GetRichTextCtrl() is checked before calling GetId(), it is not checked before calling GetFocusObject() on the control.

Change History (1)

comment:1 Changed 4 years ago by juliansmart

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in trunk and 3.0, thanks.

Note: See TracTickets for help on using tickets.