GNOME Bugzilla – Bug 149189
_xdg_mime_magic_read_from_file
Last modified: 2004-12-22 21:47:04 UTC
_xdg_mime_magic_read_from_file needs to check the return value from fread. Otherwise the memcmp will access memory it should not.
This file has a ton of these too: xdgmimemagic.c:171: warning: implicit declaration of function `getc_unlocked'
Filed upstream as http://freedesktop.org/bugzilla/show_bug.cgi?id=1049