]> granicus.if.org Git - python/commit
_PyBytesWriter_Alloc(): only use 10 bytes of the small buffer in debug mode to
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Oct 2015 10:02:39 +0000 (12:02 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Oct 2015 10:02:39 +0000 (12:02 +0200)
commitf6358a7e4c635a74202e73c76a01f5046e1b7c36
tree6469b605f7df5233b367534361010e9e3d58e7bc
parentf091033b149792e4084a479444c39636c7be2cad
_PyBytesWriter_Alloc(): only use 10 bytes of the small buffer in debug mode to
enhance code to detect buffer under- and overflow.
Objects/bytesobject.c