• Fred Drake's avatar
    [*** Not tested as I don't have Windows running right now! ***] · 25e1726d
    Fred Drake yazdı
    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.
    25e1726d
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...