Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 41742:693b8d914771 2.5
Fix bug in marshal where bad data would cause a segfault due to
lack of an infinite recursion check.
Contributed by Damien Miller at Google.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Wed, 16 May 2007 20:09:36 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
