Bug #18182 2011-06-24 14:26

gerddie99

codeblocks crashes when a wxChartCtrl is added with wxSmith

When one tries to add a wxChartCtrl to a form, codeblocks crashed with a sigsegv. This is because in the chartwindow.cpp a pointer sizes variable is set by calling GetSizes() which may return a NULL pointer. However, this is not checked before the pointer is de-referenced.

Category
Plugin::wxSmith
Group
 
Status
Closed
Close date
2011-06-30 06:38
Assigned to
mortenmacfly
gerddie99 2011-06-24 14:30

Proposed fix: Patch #3177

Opinion: This is a strange bug tracking system where you can't attach the patch directly to the bug.

mortenmacfly 2011-06-30 06:38

This bug is now fixed in HEAD.

Thank you for reporting it.