Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 3e3566937e3597651b06d95aef9b1b75d0f6899d authored by Andrew M. Kuchling on 05 October 2006, 19:42:49 UTC, committed by Andrew M. Kuchling on 05 October 2006, 19:42:49 UTC
backported.] Use sizeof(buffer) instead of duplicating the constants to ensure they won't be wrong. The real change is to pass (bufsz - 1) to PyOS_ascii_formatd and 1 to strncat. strncat copies n+1 bytes from src (not dest). Reported by Klocwork #58.
1 parent 32f378b
Tip revision: 3e3566937e3597651b06d95aef9b1b75d0f6899d authored by Andrew M. Kuchling on 05 October 2006, 19:42:49 UTC
[Backport r50679 | neal.norwitz. This is the last Klocwork bug to be
[Backport r50679 | neal.norwitz. This is the last Klocwork bug to be
Tip revision: 3e35669
File | Mode | Size |
---|---|---|
BUILDno.txt | -rw-r--r-- | 4.1 KB |
Uninstal.wse | -rw-r--r-- | 9.5 KB |
_bsddb.vcproj | -rw-r--r-- | 7.4 KB |
_socket.vcproj | -rw-r--r-- | 7.1 KB |
_ssl.mak | -rw-r--r-- | 671 bytes |
_ssl.vcproj | -rw-r--r-- | 1.6 KB |
_testcapi.vcproj | -rw-r--r-- | 7.1 KB |
_tkinter.vcproj | -rw-r--r-- | 8.3 KB |
build_ssl.py | -rw-r--r-- | 5.7 KB |
bz2.vcproj | -rw-r--r-- | 7.4 KB |
field3.py | -rw-r--r-- | 966 bytes |
installer.bmp | -rw-r--r-- | 49.1 KB |
make_versioninfo.vcproj | -rw-r--r-- | 4.9 KB |
pcbuild.sln | -rw-r--r-- | 12.3 KB |
pyexpat.vcproj | -rw-r--r-- | 10.6 KB |
python.iss | -rw-r--r-- | 18.4 KB |
python.vcproj | -rw-r--r-- | 7.5 KB |
python20.wse | -rw-r--r-- | 78.0 KB |
pythoncore.vcproj | -rw-r--r-- | 98.2 KB |
pythonw.vcproj | -rw-r--r-- | 7.5 KB |
readme.txt | -rw-r--r-- | 12.1 KB |
rmpyc.py | -rw-r--r-- | 597 bytes |
rt.bat | -rwxr-xr-x | 1.5 KB |
select.vcproj | -rw-r--r-- | 7.2 KB |
unicodedata.vcproj | -rw-r--r-- | 7.2 KB |
w9xpopen.vcproj | -rw-r--r-- | 4.1 KB |
winsound.vcproj | -rw-r--r-- | 7.2 KB |
zlib.vcproj | -rw-r--r-- | 6.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...