Skip to content

fix undefined behavior in FcSerializeResize

Mitchell Hashimoto requested to merge mitchellh/fontconfig:ubserialize into main

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

Merge request reports

Loading