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).
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).