Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Apr 2008 16:54:44 +0000 (16:54 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 16 Apr 2008 16:54:44 +0000 (16:54 +0000)
commit101521f6e4e7e8abaddb9ee31ed2dba57b3089b5
tree1b0f01ca57bf74e4a457c967bc8d651a646498bc
parent8e964bf99a48c6709824d804cb0bd390848bc1fa
Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by

2008-04-16  Matthias Clasen  <mclasen@redhat.com>

        Avoid possible memory corruption in xdgmime, fd.o bug 12512,
        reported by Joe Shaw and Federico Mena Quintero.

        * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
        (xdg_mime_media_type_equal): Turn into a wrapper around the
        _-prefixed version.

        * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
        functions throughout.

svn path=/trunk/; revision=6854
gio/ChangeLog
gio/xdgmime/xdgmime.c
gio/xdgmime/xdgmimecache.c