Bug#234231: uninitialised variables
Tags: patch
Initialising those variables before using them might avoid a crash or five.
Common subdirectories: bbppp-0.2.3/data and bbppp-0.2.3-new/data
Common subdirectories: bbppp-0.2.3/debian and bbppp-0.2.3-new/debian
diff -c bbppp-0.2.3/resource.cc bbppp-0.2.3-new/resource.cc
*** bbppp-0.2.3/resource.cc Mon Apr 30 00:26:09 2001
--- bbppp-0.2.3-new/resource.cc Sun Feb 29 04:32:02 2004
***************
*** 26,31 ****
--- 26,36 ----
BaseResource(toolwindow)
{
defaultFont[0] = 0;
+ label.font = NULL;
+ frame.font = NULL;
+ report.startCommand = NULL;
+ report.stopCommand = NULL;
+ report.resumeCommand = NULL;
Load();
}
Reply to: