aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_expr.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2023-09-30 11:16:36 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2023-09-30 11:16:36 +0200
commit07cd6cd670ece7209d47dbba4dc7c15f81107215 (patch)
tree0d4602e292bce727cb86224c9f8176db4326d3aa /src/llvm_backend_expr.cpp
parent3fae38a2f815681cfbfe22122dd28698a5196803 (diff)
Change large math/big test literals to hex.
In September 2022, the Python team addressed a possible DoS issue converting big integers to and from base 10 strings: https://github.com/python/cpython/issues/95778 Converting to/from base 10 is a quadratic operation, so they limited it to 4300 digits: https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889/83 Github CI still uses an old Python version which parsed our test suite just fine. This patch converts them to hex literals to ensure our test doesn't break when Github does update to a non-vulnerable Python version released after September 2022.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions