[Bug 517683] New: scpm-1.1.7-5.1: bad call to C++STL erase
http://bugzilla.novell.com/show_bug.cgi?id=517683 Summary: scpm-1.1.7-5.1: bad call to C++STL erase 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 scpm-1.1.7-5.1 For source code file scpm-1.1.7/src/main/scpm_helpers.cc around line 583 is the source code while( it != resources.end() ) { if ( *it == resources[i] ) { resources.erase( it ); size--; } else it++; This looks wrong, because the return value from the erase is not used. Suggest new code while( it != resources.end() ) { if ( *it == resources[i] ) { it = resources.erase( it ); size--; } else it++; -- 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=517683 Stefan Behlert <behlert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low CC| |joe@ugh.de Component|Other |Mobile Devices AssignedTo|bnc-team-screening@forge.pr |mobile-bugs@forge.provo.nov |ovo.novell.com |ell.com -- 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=517683 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=517683#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:54:26 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=517683 https://bugzilla.novell.com/show_bug.cgi?id=517683#c2 Uwe Drechsel <uwedr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX --- Comment #2 from Uwe Drechsel <uwedr@suse.com> 2011-08-26 12:54:34 CEST --- The lifecycle of openSUSE 11.2 ended on May 12th 2011. I'm closing this bug to make it easier to focus on upcoming releases. Thank you for reporting this issue and we are sorry that we have not be able to fix it before this version reached its end of life. If you would still like to see this bug fixed and are able to reproduce it against a maintained version, please reopen this bug and change the 'version' of this bug to the applicable version. -- 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=517683 https://bugzilla.novell.com/show_bug.cgi?id=517683#c3 --- Comment #3 from Uwe Drechsel <uwedr@suse.com> 2011-08-26 12:58:20 CEST --- The lifecycle of openSUSE 11.2 ended on May 12th 2011. I'm closing this bug to make it easier to focus on upcoming releases. Thank you for reporting this issue and we are sorry that we have not be able to fix it before this version reached its end of life. If you would still like to see this bug fixed and are able to reproduce it against a maintained version, please reopen this bug and change the 'version' of this bug to the applicable version. -- 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.
participants (1)
-
bugzilla_noreply@novell.com