summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2003-06-18 00:53:06 (GMT)
committerGreg Ward <gward@python.net>2003-06-18 00:53:06 (GMT)
commit8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32 (patch)
tree4203bcf0b4c028be90bd3a47f3c8f84eef61bb3d /Python/compile.c
parent7d98fb9806907ae6849f57c66af9248952120cd9 (diff)
downloadcpython-8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32.zip
cpython-8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32.tar.gz
cpython-8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32.tar.bz2
SF patch #755987 (Jim Ahlstrom):
This is a patch for Bug 755031: If a null byte appears in a file name, Python zipfile.py retains it, but InfoZip terminates the name. Null bytes in file names are used as a trick by viruses. I tested WinZip, and it also truncates the file name at the null byte. The patch also fixes a buglet: If a zipfile incorrectly uses a directory separator other than '/', there was an invalid complaint that the central directory name does not match the file header name. I also removed my name from the top of the file. It was there for legal reasons which I believe no longer apply. Many people have worked on this file besides me.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions