Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 49715:9781eef3192c 2.4
- Issues #2588, #2589: Fix potential integer underflow and overflow
conditions in the PyOS_vsnprintf C API function. CVE-2008-3144.
| author | Matthias Klose <doko@ubuntu.com> |
|---|---|
| date | Wed, 12 Nov 2008 07:08:51 +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; }
