]> git.wh0rd.org Git - fontconfig.git/commit
Must not insert cache into hash table before completely validating.
authorKeith Packard <keithp@koto.keithp.com>
Thu, 18 Oct 2007 16:41:00 +0000 (09:41 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Thu, 18 Oct 2007 16:41:00 +0000 (09:41 -0700)
commitbc5e8adb4d05d1d03007951f46aaacc63c3b2197
treeb0388f6106f777fb059525ca92bdfd2a06108659
parente85789a99770dbd1a4abe9da3eadb355c19f5216
Must not insert cache into hash table before completely validating.

The cache was inserted into the hash table before the timestamps in the
cache were verified; if that verification failed, an extra pointer to the
now freed cache would be left in the hash table. FcFini would fail an
assertion as a result.
src/fccache.c