You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #2530 from sparklemotion/flavorjones-check-parse-memory-types_v1.13.x
SAX::Parser constructors check types (v1.13.x branch)
---
**What problem is this PR intended to solve?**
HTML4::SAX::Parser, HTML4::SAX::ParserContext, XML::SAX::Parser, and XML::SAX::ParserContext now properly check the types of the arguments to their various constructor methods.
Previously, passing arguments of unexpected types might cause a segfault or other less-obvious exceptions.
This is a backport of #2529
**Have you included adequate test coverage?**
Yes! Added test coverage for these cases.
**Does this change affect the behavior of either the C or the Java implementations?**
Both the C and Java implementations have been updated to behave identically in this circumstance.
0 commit comments