aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-02-27 15:46:58 +0100
committerBjörn Gustavsson <[email protected]>2017-02-28 09:52:27 +0100
commit45a64bda7c605bb5effca0085e9df6f56ddba24a (patch)
treeff571f6f7fad1bb0dd0785fc9bca7fcb40718dc3 /Makefile.in
parent87d87c57841dc7a295b3e74f807198e34df4adb4 (diff)
downloadotp-45a64bda7c605bb5effca0085e9df6f56ddba24a.tar.gz
otp-45a64bda7c605bb5effca0085e9df6f56ddba24a.tar.bz2
otp-45a64bda7c605bb5effca0085e9df6f56ddba24a.zip
zip: Don't crash when a zip file has an Unix extra header
There is unfinished code in the zip module to handle the extra field in the central-directory header for each file. The code to extract an Unix extra subfield is incorrect and always causes a bad_unix_extra_field error. A further flaw in the code is that it expects that there is only a single subfield. Correcting the code for extracting extra subfields will not do any good, because the extracted data is ignored. In fact, not even the file times extracted from DOS file times are used for some reason. Therefore, don't correct the unfinished code. Remove it completely. (If needed, extending zip to use file times and to use the information in the extra field should be done in a major release, not in a maintenance release.) ERL-348
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions