summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-23 00:00:10 +0000
committerGuido van Rossum <guido@python.org>1999-02-23 00:00:10 +0000
commitc222ec28a54089da3b15da5e06fb7f78ba294866 (patch)
treed0f54443646dc4e38e2d36ffeebb8349f8668952 /Python
parent1ec71cb5563b8444246559d0935418610546f13b (diff)
downloadcpython-git-c222ec28a54089da3b15da5e06fb7f78ba294866.tar.gz
Patch by Tadayoshi Funaba (with some changes) to be smarter about
guessing what happened when strftime() returns 0. Is it buffer overflow or was the result simply 0 bytes long? (This happens for an empty format string, or when the format string is a single %Z and the timezone is unknown.) if the buffer is at least 256 times as long as the format, assume the latter.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions