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
Thanks @treiher for the report and the fix! Sorry for the delayed response - for some reason I received no notification for this issue.
The example in the README actually used to be the same as examples/fuzz_htmlparser/fuzz.py, but I forgot to update it when changing the fuzzer. I fixed it and implemented a check in #50 to ensure the code example in the README remains in sync.
The example in the README leads to an exception:
Here is a fixed version:
Apart from moving the import inside the function, I have also added type hints. That makes it more obvious what the type of
buf
is.The text was updated successfully, but these errors were encountered: