[Bug 443537] New: inkscape-0.46-62.21: 3 * call to wrong C++ delete
https://bugzilla.novell.com/show_bug.cgi?id=443537 Summary: inkscape-0.46-62.21: 3 * 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 inkscape-0.46-62.21 and I noticed the following $ egrep "new|delete" ../BUILD/inkscape-0.46/src/dom/domstring.cpp delete cstring; delete cstring; delete cstring; cstring = new char[length+1]; The three calls to delete seem to be wrong. Suggest new code delete [] cstring; cstring = NULL; -- 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=443537
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=443537
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443537#c1
Vincent Untz
participants (1)
-
bugzilla_noreply@novell.com