Annotation of pkgsrc/lang/python26/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/6b7704fe1be1
        !             6: 
        !             7: --- Include/pythonrun.h.orig   2010-05-09 16:15:40.000000000 +0100
        !             8: +++ Include/pythonrun.h        2012-03-25 09:51:50.000000000 +0100
        !             9: @@ -168,6 +168,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>