GNOME Bugzilla – Bug 351435
libmuine abuses gnome-vfs API
Last modified: 2006-10-12 22:13:52 UTC
libmuine uses the gnome-vfs API without error checking and passes invalid URIs (which are actually filenames) to gnome_vfs_uri_new, which used to work because GnomeVFS didn't check its input arguments properly.
Created attachment 70939 [details] [review] Proposed patch The attached patch clarifies the use of variable names (except for gst player's private current_file variable, which could be renamed to current_uri) and adds proper error checking. Compiling and running muine still spits errors for me, possibly because PlaylistWindow uses file names where it should use URIs for OpenPlaylist() and friends.
Bug #161930 is related.
Ping.
Fixed, thanks. 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org> * libmuine/metadata.c: (assign_metadata_mp3), (assign_metadata_mp4), (assign_metadata_ogg), (assign_metadata_flac), (metadata_load): * libmuine/player-gst-0.8.c: (player_set_file): * libmuine/player-gst.c: (player_set_file): * libmuine/player-xine.c: (player_set_file): Don't abuse gnome-vfs API and rename some variables to a sane name. Fixes bug #351435, patch by Christian Neumair.