The changes here update the fuzz_sax test harness to gracefully handle a documented exception so the fuzzer will not exit when the exception is raised. This PR also removes the special case handling in fuzz_schematron.py for a bug in lxml.isoschematron.Schematron that has been fixed.
Changes to fuzz_sax.py
The IndexError raised in src/lxml/sax.py is a known bug with an issue marked as low priority in lxml's bug tracker since 2023-03-14: https://bugs.launchpad.net/lxml/+bug/2011542
Changes to fuzz_schematron.py
The unhandled KeyError bug in the lxml.isoschematron.Schematron class that was previously identified by fuzzing has been fixed upstream via: https://github.com/lxml/lxml/pull/423.
The changes here update the
fuzz_sax
test harness to gracefully handle a documented exception so the fuzzer will not exit when the exception is raised. This PR also removes the special case handling infuzz_schematron.py
for a bug inlxml.isoschematron.Schematron
that has been fixed.Changes to
fuzz_sax.py
The
IndexError
raised insrc/lxml/sax.py
is a known bug with an issue marked as low priority in lxml's bug tracker since 2023-03-14: https://bugs.launchpad.net/lxml/+bug/2011542Changes to
fuzz_schematron.py
The unhandled
KeyError
bug in thelxml.isoschematron.Schematron
class that was previously identified by fuzzing has been fixed upstream via: https://github.com/lxml/lxml/pull/423.