mirror of
https://github.com/python/cpython.git
synced 2026-08-03 13:26:41 +08:00
`_struct.c`: Fix UB from integer overflow in `prepare_s` (GH-145158) Avoid possible undefined behaviour from signed overflow in `struct` module As discovered via oss-fuzz. (cherry picked from commit fd0400585eb957c7d10812d87a8cb9e1f3c72519) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Source files for standard library extension modules, and former extension modules that are now builtin modules.