[Bug 525433] New: htdig-3.2.0b6-218.10: C/C++ memory mixup
http://bugzilla.novell.com/show_bug.cgi?id=525433 Summary: htdig-3.2.0b6-218.10: C/C++ memory mixup Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 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 had a look at factory package htdig-3.2.0b6-218.10 For source code file htdig-3.2.0b6/htlib/md5.cc around line 20 is the source code for the function md5. I notice the following lines of code td = (MD5_CTX *)malloc(sizeof(MD5_CTX)); and delete td; This looks like a mixup of C and C++ memory allocation. Suggest code rework. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=525433
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=525433
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525433#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=525433
http://bugzilla.novell.com/show_bug.cgi?id=525433#c
Hendrik Vogelsang
http://bugzilla.novell.com/show_bug.cgi?id=525433
http://bugzilla.novell.com/show_bug.cgi?id=525433#c2
Cristian Rodríguez
participants (1)
-
bugzilla_noreply@novell.com