summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-30 17:48:51 +0000
committerFred Drake <fdrake@acm.org>2000-06-30 17:48:51 +0000
commit11f89cea96aef9f44c4941f0a2e4d7cc8cef462e (patch)
tree74b020336894bf80b79fd5b9e5c81ee547e2c783 /Python/pythonrun.c
parentd4d696a06e382b8d8a0b2904590530f8fb5458eb (diff)
downloadcpython-11f89cea96aef9f44c4941f0a2e4d7cc8cef462e.tar.gz
[*** Not tested as I don't have Windows running right now! ***]
Trent Mick <trentm@activestate.com>: Fix PC/msvcrtmodule.c and PC/winreg.c for Win64. Basically: - sizeof(HKEY) > sizeof(long) on Win64, so use PyLong_FromVoidPtr() instead of PyInt_FromLong() to return HKEY values on Win64 - Check for string overflow of an arbitrary registry value (I know that ensuring that a registry value does not overflow 2**31 characters seems ridiculous but it is *possible*). Closes SourceForge patch #100517.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions