Specifically https://git.sr.ht/~singpolyma/haskell-libxml-sax/tree/master/item/lib/Text/XML/LibXML/SAX.hs#L256 the n_attrs
and raw_attrs
under 9.0.2 and earlier are a sensible integer and an initialized pointer to an array. Under 9.2.5 the n_attrs
value is a different random value on every run (as if uninitialized memory) and raw_attrs
is a null pointer.
Regression between 9.0.2 and 9.2.5 affecting libxml-sax -- FFI with a wrapped function pointer that works on 9.0.2 and earlier (back to at least GHC7) as of at least 9.2.5 now when linked against the same library (libxml2) crashes, getting an uninitialized int and a null pointer where it normally expects a count and an array.
Tests should pass.
Optional: