Staging
v0.5.1
https://github.com/python/cpython
Revision a2a16615545b2ea5ede0d4e20f218d54d087021f authored by Andrew M. Kuchling on 04 October 2006, 13:12:26 UTC, committed by Andrew M. Kuchling on 04 October 2006, 13:12:26 UTC
I'm not sure why this code allocates this string for the error message.
I think it would be better to always use snprintf and have the format
limit the size of the name appropriately (like %.200s).

Klocwork #340
1 parent baab23e
History
Tip revision: a2a16615545b2ea5ede0d4e20f218d54d087021f authored by Andrew M. Kuchling on 04 October 2006, 13:12:26 UTC
[Backport r51226 | neal.norwitz]
Tip revision: a2a1661
File Mode Size
abstract.c -rw-r--r-- 48.1 KB
boolobject.c -rw-r--r-- 4.8 KB
bufferobject.c -rw-r--r-- 13.7 KB
cellobject.c -rw-r--r-- 2.3 KB
classobject.c -rw-r--r-- 60.0 KB
cobject.c -rw-r--r-- 3.9 KB
complexobject.c -rw-r--r-- 22.8 KB
descrobject.c -rw-r--r-- 30.1 KB
dictnotes.txt -rw-r--r-- 10.9 KB
dictobject.c -rw-r--r-- 57.0 KB
enumobject.c -rw-r--r-- 8.4 KB
fileobject.c -rw-r--r-- 58.4 KB
floatobject.c -rw-r--r-- 33.5 KB
frameobject.c -rw-r--r-- 21.9 KB
funcobject.c -rw-r--r-- 21.4 KB
genobject.c -rw-r--r-- 2.9 KB
intobject.c -rw-r--r-- 27.3 KB
iterobject.c -rw-r--r-- 5.4 KB
listobject.c -rw-r--r-- 68.3 KB
listsort.txt -rw-r--r-- 30.7 KB
longobject.c -rw-r--r-- 72.8 KB
methodobject.c -rw-r--r-- 8.1 KB
moduleobject.c -rw-r--r-- 6.2 KB
object.c -rw-r--r-- 48.3 KB
obmalloc.c -rw-r--r-- 44.5 KB
rangeobject.c -rw-r--r-- 9.1 KB
setobject.c -rw-r--r-- 26.0 KB
sliceobject.c -rw-r--r-- 7.5 KB
stringobject.c -rw-r--r-- 103.3 KB
structseq.c -rw-r--r-- 9.4 KB
tupleobject.c -rw-r--r-- 19.5 KB
typeobject.c -rw-r--r-- 147.5 KB
unicodectype.c -rw-r--r-- 8.4 KB
unicodeobject.c -rw-r--r-- 189.2 KB
unicodetype_db.h -rw-r--r-- 75.4 KB
weakrefobject.c -rw-r--r-- 28.5 KB

back to top