...and this fixes another incorrect use of strrchr().

Not entirely sure what the true root cause of the problem is, but my
guess is that with Font undefined in the skin file, audacious doesn't do
error handling very well.  Hopefully the above patches will help make it
more robust against these types of errors.

It might be worthwhile doing an audit of strrchr() usages throughout the
program; it seems there are numerous places where it does not account
for the possibility of a NULL return from strrchr().

** Attachment added: "another_strrchr_fix.patch"
   http://launchpadlibrarian.net/21066013/another_strrchr_fix.patch

-- 
audacious crashed in playlistwin_set_sinfo_font with SIGSEGV 1.4.6-1ubuntu1 
seg. fault
https://bugs.launchpad.net/bugs/188659
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to