• Akira TAGOH's avatar
    Fix array access in a null pointer dereference · 586ac3b6
    Akira TAGOH authored
    FcFontSetFont() accesses fs->fonts in that macro though, there was no error checks
    if it is null or not.
    As a result, there was a code path that it could be a null.
    Even though this is unlikely to see in usual use, it might be intentionally created
    in a cache.
    
    So if fs->fonts is a null, we should consider a cache is invalid.
    586ac3b6
Name
Last commit
Last update
conf.d Loading commit data...
doc Loading commit data...
fc-cache Loading commit data...
fc-case Loading commit data...
fc-cat Loading commit data...
fc-conflist Loading commit data...
fc-lang Loading commit data...
fc-list Loading commit data...
fc-match Loading commit data...
fc-pattern Loading commit data...
fc-query Loading commit data...
fc-scan Loading commit data...
fc-validate Loading commit data...
fontconfig Loading commit data...
its Loading commit data...
m4 Loading commit data...
po Loading commit data...
po-conf Loading commit data...
src Loading commit data...
test Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
Tools.mk Loading commit data...
autogen.sh Loading commit data...
config-fixups.h Loading commit data...
configure.ac Loading commit data...
fontconfig-zip.in Loading commit data...
fontconfig.pc.in Loading commit data...
fontconfig.spec.in Loading commit data...
fonts.conf.in Loading commit data...
fonts.dtd Loading commit data...
git.mk Loading commit data...
local.conf Loading commit data...
new-version.sh Loading commit data...