fix undefined behavior in FcSerializeResize
Caught with clang
-fsanitize-trap=undefined
FcInitConfigAndLoad
or any other codepath that leads into FcSerializeResize
would crash on this due to UB (if -fsanitize-trap
is set).
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Caught with clang
-fsanitize-trap=undefined
FcInitConfigAndLoad
or any other codepath that leads into FcSerializeResize
would crash on this due to UB (if -fsanitize-trap
is set).