GNOME Bugzilla – Bug 351227
verifypartialmatch crashes for empty text
Last modified: 2006-08-15 11:25:10 UTC
Steps to Reproduce crash: #1. Open Gedit and type in some text #2. Open Python prompt and do `from ldtp import *' #3. In python prompt type in `verifypartialmatch ('*gedit','txt0','')' this will cause the ldtp server to crash with segmentation fault
The same happens for `verifysettext' too
Unable to reproduce the bug in Suse 10.1 in which distro did u produce the bug ?
Unable to reproduce the bug in FC5.The server doesnt crash
Created attachment 70930 [details] [review] Added NULL value to argument list in case of no arguments specified
Created attachment 70936 [details] [review] modified text_main to check for NULL argument and replaced with "" also made sure that arg_list is never NULL