[Bug 443369] New: coolkey-1.1.0-124.22: call to wrong C++ delete
https://bugzilla.novell.com/show_bug.cgi?id=443369 Summary: coolkey-1.1.0-124.22: call to wrong C++ delete Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just checked some of the source code in the Suse Linux factory package coolkey-1.1.0-124.22 and I noticed the following $ egrep "new|delete" ../BUILD/coolkey-1.1.0/src/coolkey/object.cpp | fgrep label delete label; label = new char [ size + 1 ]; The delete looks wrong. Maybe delete [] label; label = NULL; would be better. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=443369
Cyril Hrubis
participants (1)
-
bugzilla_noreply@novell.com