Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183103 - dev-db/mysqlnavigator removal (was dev-db/mysqlnavigator-1.4.2 patch for segmentation fault while using the find feature)
Summary: dev-db/mysqlnavigator removal (was dev-db/mysqlnavigator-1.4.2 patch for segm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 04:30 UTC by Angelo Arrifano (RETIRED)
Modified: 2010-01-24 18:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch to fix the problem described in parent post. (mysqlnavigator-1.4.2-findslot-fix-250607.patch,694 bytes, patch)
2007-06-25 04:31 UTC, Angelo Arrifano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Arrifano (RETIRED) gentoo-dev 2007-06-25 04:30:34 UTC
The Edit->Find feature produces a segmentation fault when searching, for example, in information_schema mysql database (with default values).

The segfault is caused by passing a NULL value to heystack of strstr function in Find::findslot()

The patch provides a additional check to avoid strstr(0x0, ...)

Reproducible: Always

Steps to Reproduce:
1.Connect to a newly installed mysql server.
2.Open Edit->Find.
3.Search in '*' or database 'information_schema'
4.Find something
5.Segmentation fault
Comment 1 Angelo Arrifano (RETIRED) gentoo-dev 2007-06-25 04:31:23 UTC
Created attachment 123009 [details, diff]
The patch to fix the problem described in parent post.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-01-01 11:08:39 UTC
qt3, and has been segfaulting for 2 and half years... 

adding treecleaner@
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2010-01-01 20:02:20 UTC
+  01 Jan 2010; Víctor Ostorga <vostorga@gentoo.org> package.mask:
+  Masking for dev-db/mysqlnavigator removal, qt3 package, has been
+  segfaulting for 2 and half years, last release 6 years ago, bug 183103
+
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-01-24 18:54:10 UTC
Removed from tree. Let us know if there is a fixed Qt4 version in future.