diff options
| author | Matthias Görgens <matthias.goergens@gmail.com> | 2022-10-11 00:12:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-10 17:12:29 +0100 |
| commit | 553d3c10172254b190078c50eb9f8e60522c8f41 (patch) | |
| tree | 3542a1184d0c5769d10d3ecd14b9e93d00d4959c /Objects/codeobject.c | |
| parent | dfcdee4a18ece6f7c4fe1aa5830ee861f8b15b24 (diff) | |
| download | cpython-git-553d3c10172254b190078c50eb9f8e60522c8f41.tar.gz | |
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 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions
