]> git.wh0rd.org Git - fontconfig.git/commit
Segfault scanning non-font files. Disallow scan edit of user vars. (#8767)
authorKeith Packard <keithp@neko.keithp.com>
Sat, 2 Dec 2006 21:57:45 +0000 (13:57 -0800)
committerKeith Packard <keithp@neko.keithp.com>
Sat, 2 Dec 2006 21:57:45 +0000 (13:57 -0800)
commit0f963b0d3ec417a39f6aa2ba22ba56c2a79d05aa
tree2262d15f1526002a91d2baba76783685519cd947
parentc9c6875014661d4326100bae0464279d76bd657f
Segfault scanning non-font files. Disallow scan edit of user vars. (#8767)

Missing NULL font check before attempting to edit scanned pattern.
Also, <match target="scan"> rules are now checked to ensure all
edited variables are in the predefined set; otherwise, the resulting
cache files will not be stable.
src/fcdir.c
src/fcint.h
src/fcxml.c