]> granicus.if.org Git - python/commit
SF bug 485175: buffer overflow in traceback.c.
authorTim Peters <tim.peters@gmail.com>
Tue, 27 Nov 2001 20:30:42 +0000 (20:30 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 27 Nov 2001 20:30:42 +0000 (20:30 +0000)
commit6d20b43a4e3255e4b4fe4468861abf72166d9acf
tree51a1700f66bc49fbd88c066beedfbe31af679505
parente274864004995f7b8b80abe1cea61b5ec8111ad7
SF bug 485175:  buffer overflow in traceback.c.
Bugfix candidate.
tb_displayline():  the sprintf format was choking off the file name, but
used plain %s for the function name (which can be arbitrarily long).
Limit both to 500 chars max.
Misc/ACKS
Python/traceback.c