After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104333 - gfloppy-config.c needs better error handling
gfloppy-config.c needs better error handling
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: gfloppy
trunk
Other Linux
: Normal normal
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-24 15:56 UTC by Jonathan Blandford
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
simple error checking patch (1.53 KB, patch)
2003-01-24 16:03 UTC, Jonathan Blandford
none Details | Review

Description Jonathan Blandford 2003-01-24 15:56:22 UTC
gfloppy_config_load currently has a line like:

config->default_fs = gconf_client_get_string (client,
"/apps/gfloppy/default_fs", &error);

However, as with all gconf keys, that value might be bogus.  It should
check to make sure that it's one of GFLOPPY_CONFIG_FS_EXT2 or
GFLOPPY_CONFIG_FS_FAT.
Comment 1 Jonathan Blandford 2003-01-24 16:03:19 UTC
Created attachment 13804 [details] [review]
simple error checking patch
Comment 2 Glynn Foster 2003-01-24 16:19:33 UTC
fixed in gnome-2-2 branch. thanks ;)