[Bug 444577] New: krb5-1.6.3-131.3 : 7 * undefined C++ code
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=444577 Summary: krb5-1.6.3-131.3 : 7 * undefined C++ code Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Minor 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 krb5-1.6.3-131.3 and I noticed the following $ egrep "new|delete" ./BUILD/krb5-1.6.3/src/windows/installer/wix/custom/custom.cpp | fgrep sFormatted sFormatted = new TCHAR[ ++dwSize ]; if(sFormatted) delete sFormatted; Suggest replace if(sFormatted) delete sFormatted; with delete [] sFormatted; sFormatted = NULL. In the same file, similar fun & games for variables sReason, kpList, strPathUninst, target, charset, strOrder. -- 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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=444577
Cyril Hrubis
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=444577
User mc@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444577#c1
Michael Calmer
participants (1)
-
bugzilla_noreply@novell.com