[3.13] `_struct.c`: Fix UB from integer overflow in `prepare_s` (GH-145158) (#145163)
`_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>
M
Miss Islington (bot) committed
dd355045f665fb0fa7f4e4f618e2457a726f6476
Parent: 0acd41f
Committed by GitHub <noreply@github.com>
on 2/24/2026, 1:16:45 AM