diff options
author | Matthias Görgens <matthias.goergens@gmail.com> | 2022-10-10 16:12:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 16:12:29 (GMT) |
commit | 553d3c10172254b190078c50eb9f8e60522c8f41 (patch) | |
tree | 3542a1184d0c5769d10d3ecd14b9e93d00d4959c /Python/getcompiler.c | |
parent | dfcdee4a18ece6f7c4fe1aa5830ee861f8b15b24 (diff) | |
download | cpython-553d3c10172254b190078c50eb9f8e60522c8f41.zip cpython-553d3c10172254b190078c50eb9f8e60522c8f41.tar.gz cpython-553d3c10172254b190078c50eb9f8e60522c8f41.tar.bz2 |
gh-96821: Fix undefined behaviour in `audioop.c` (#96923)
* gh-96821: Fix undefined behaviour in `audioop.c`
Left-shifting negative numbers is undefined behaviour.
Fortunately, multiplication works just as well, is defined behaviour,
and gets compiled to the same machine code as before by optimizing
compilers.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions