Re: [PATCH] gnome_vfs_uri_extract_short_name() should never return NULL



Il giorno lun, 24-01-2005 alle 12:13 +0100, Vincent Untz ha scritto:
> Hi,
> 
> (See bug http://bugzilla.gnome.org/show_bug.cgi?id=157723 for the bug)
> 
> For some URI, gnome_vfs_uri_extract_short_name() returns NULL while it
> should not. This is causing a crash in the panel because the egg recent
> code does not check the value returned by this function. But I don't
> think we should need to check that the value is not NULL: this should
> never happen.

This is also biting gedit, in fact we patched our local version of
egg-recent to alt least check for NULL.
I think that egg-recent should check for NULL anyway, just to be sure,
but fixing get_short_name is nice.

see: http://bugzilla.gnome.org/show_bug.cgi?id=164359


paolo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]