-
Notifications
You must be signed in to change notification settings - Fork 23
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
fails test test_billion_laughs #22
Comments
Thanks! Nice, finally a reproduction. I always wondered why I couldn't reproduce this since the code shouldn't be safe against this. Annoyingly enough I still cannot reproduce this locally using Python 3.10.4, beautifulsoup4==4.11.1, lxml==4.8.0 (Ubuntu, both native and WSL2) Do you have any idea which version of libxml2 you're using? It seems I'm using |
Sure: I build in a clean Debian sid system, so that's currently |
I have been searching whether it would be possible to specify The library doesn't really seem to be vulnerable to the billion laughs attack since the diff is only 1177 characters long. I'm a bit unsure if we should simply trust the protections which have been implemented in libxml2 and lxml and simply remove the offending test. This doesn't seem like a good solution to me though... |
Hi,
Building on a Debian system currently fails its testsuite like this:
Build succeeded in January. Notable changes since then:
3.9.9
to3.10.4
4.6.5
to4.8.0
4.10.0
to4.11.1
The text was updated successfully, but these errors were encountered: