SIGN IN SIGN UP

[3.12] gh-120378: Fix crash caused by integer overflow in `curses` (GH-124555) (#124911)

This is actually an upstream problem in curses, and has been reported
to them already:
https://lists.gnu.org/archive/html/bug-ncurses/2024-09/msg00101.html

This is a nice workaround in the meantime to prevent the segfault.

(cherry picked from commit c2ba931318280796a6dcc33d1a5c5c02ad4d035b)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
P
Peter Bierma committed
8dce4918ab3ad6c6faa25f9e3fbbfe022b4882b5
Parent: 829cdf0
Committed by GitHub <noreply@github.com> on 10/2/2024, 9:40:49 PM