8000 Add a fuzz target for `_elementtree.XMLParser._parse_whole` by bradlarsen · Pull Request #111477 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Add a fuzz target for _elementtree.XMLParser._parse_whole #111477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 3, 2023
Prev Previous commit
move DECREF io_module to the right spot
  • Loading branch information
gpshead authored Nov 1, 2023
commit fd537450f1d74d77e0c47204d9c54b559b38335d
2 changes: 1 addition & 1 deletion Modules/_xxtestfuzz/fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ static int init_elementtree_parsewhole(void) {
if (io_module == NULL) {
return 0;
}
Py_DECREF(io_module);
bytesio_type = PyObject_GetAttrString(io_module, "BytesIO");
Py_DECREF(io_module);
if (bytesio_type == NULL) {
return 0;
}
Expand Down
0