Segmentation fault when using Edit->Find.
Brought to you by:
sise15
mysqlnavigator-1.4.2
Description:
-----------
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
Also reported to:
The patch.