Conversation
|
bytes.fromhex() was modified in Python 3.14 to accept more types; Python 3.13 only accepts str. So the undefined behavior was introduced in Python 3.14. So far, before me running Valgrind, nobody reported the issue. So I'm not sure if it's needed to add a Changelog entry. The modified code is tested by |
|
In Python 3.13, reading
|
|
I'm also curious why only Valgrind reports the issue. In the CI, we are running the Python test suite on Python built with Address Sanitizer. This build doesn't detect usage of uninitialized memory? |
|
Apparently, when |
We only run with ASan and UBSan, however neither track uninitialised memory. We'd have to run with MSan. Edit: I went off on a little tangent, but I wrote a patch to add MSan to the CI: #158625 |
Uh oh!
There was an error while loading. Please reload this page.