]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* renamed malloc.h mymalloc.h, and added MALLARG as the type of the
authorGuido van Rossum <guido@python.org>
Wed, 19 Aug 1992 16:46:30 +0000 (16:46 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Aug 1992 16:46:30 +0000 (16:46 +0000)
commit1e28e5e59634f56cdeaff528afb122a5735adf09
tree2afa725a3a344c2350902947c30f59d1a22e00ff
parentb001f7adb16e054baa31213e4609b3be2138cade
* renamed malloc.h mymalloc.h, and added MALLARG as the type of the
  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)
Include/allobjects.h
Include/mymalloc.h [new file with mode: 0644]
Include/pgenheaders.h
Objects/listobject.c