[issue10833] Replace %.100s by %s in PyErr_Format(): the arbitrary limit of 500 bytes is outdated
Alexander Belopolsky
report at bugs.python.org
Thu Jan 6 18:57:39 CET 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
I agree with Eric. Limiting field width when formatting error messages is a good safety measure. It is not only the amount of garbage that can be spitted in error logs, if garbage is not null-terminated, you may get a SEGV instead of a somewhat meaningful error message.
----------
nosy: +belopolsky
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10833>
_______________________________________
More information about the Python-bugs-list
mailing list