[Bug 544225] New: libqt4-sql-plugins-4.5.2-2.2: faulty call to C++ erase
http://bugzilla.novell.com/show_bug.cgi?id=544225 Summary: libqt4-sql-plugins-4.5.2-2.2: faulty call to C++ 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 libqt4-sql-plugins-4.5.2-2.2 source code file qt-x11-opensource-src-4.5.2/src/gui/util/qcompleter.cpp function QCompletionEngine::saveInCache I notice the following code cache.erase(it1); and so by this erase, the iterator it1 is invalidated. This is a standard problem in C++. Suggest new code it1 = cache.erase(it1); -- 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=544225 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |dmueller@novell.com |ovo.novell.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=544225 User dmueller@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544225#c1 --- Comment #1 from Dirk Mueller <dmueller@novell.com> 2009-10-13 13:19:04 CEST --- you're right. it is not a STL iterator, but Qt iterators have the same problem. I consider rewriting this code to use QCache instead. -- 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=544225 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- 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=544225 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544225#c2 --- Comment #2 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:56:08 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=544225 https://bugzilla.novell.com/show_bug.cgi?id=544225#c3 Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #3 from Dirk Mueller <dmueller@suse.com> 2013-09-23 15:33:50 CEST --- Resolving as upstream. -- 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