We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the SMLLexer gets fed the string "exception" it seems to loop indefinitely. Here's a simple example:
SMLLexer
"exception"
from pygments import highlight from pygments.lexers import SMLLexer from pygments.formatters import HtmlFormatter code = 'exception' print(highlight(code, SMLLexer(), HtmlFormatter()))
Tested on both
$ pygmentize -V Pygments version 2.3.1, (c) 2006-2017 by Georg Brandl.
and
$ pygmentize -V Pygments version 2.7.3, (c) 2006-2020 by Georg Brandl.
.
The text was updated successfully, but these errors were encountered:
f91804f
Thanks for the report, this will be fixed in the next version (probably 2.7.4).
Sorry, something went wrong.
For reference, this was assigned CVE-2021-20270.
DOCS-1226: update pygments version to 2.7.4 with fix in SMLLexer
93623ed
pygments/pygments#1625
No branches or pull requests
When the
SMLLexer
gets fed the string"exception"
it seems to loop indefinitely. Here's a simple example:Tested on both
and
.
The text was updated successfully, but these errors were encountered: