Annotation of pkgsrc/lang/python27/patches/patch-CVE-2012-1150-Include_pythonrun.h, revision 1.1
1.1 ! tron 1: $NetBSD$
! 2:
! 3: Fix for CVE-2012-1150 taken from here:
! 4:
! 5: http://hg.python.org/cpython/rev/a0f43f4481e0
! 6:
! 7: --- Include/pythonrun.h.orig 2011-06-11 16:46:23.000000000 +0100
! 8: +++ Include/pythonrun.h 2012-03-24 11:02:25.000000000 +0000
! 9: @@ -171,6 +171,8 @@
! 10: PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int);
! 11: PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
! 12:
! 13: +/* Random */
! 14: +PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size);
! 15:
! 16: #ifdef __cplusplus
! 17: }
CVSweb <webmaster@jp.NetBSD.org>