Mercurial > cpython-lru_cache-weakref
diff Python/codecs.c @ 47345:e1a4bf91b2ae legacy-trunk
Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
passed in. (The assert won't prevent this in non-debug builds).
| author | Gregory P. Smith <greg@mad-scientist.com> |
|---|---|
| date | Mon, 26 May 2008 22:07:28 +0000 |
| parents | 4fe192d48960 |
| children | 52294af4b663 |
