mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
1e28e5e59634f56cdeaff528afb122a5735adf09
argument to malloc() (size_t or unsigned int) * listobject.c: check for overflow of the size of the object, so things like range(0x7fffffff) will raise MemoryError instead of calling malloc() with -4 (and then crashing -- malloc's fault)
Description
Languages
Python
63.2%
C
34.5%
C++
0.7%
HTML
0.4%
M4
0.4%
Other
0.5%