mirror of https://github.com/madler/zlib.git
This checks the lengths of the file name, extra field, and comment that would be put in the zip headers, and rejects them if they are too long. They are each limited to 65535 bytes in length by the zip format. This also avoids possible buffer overflows if the provided fields are too long.pull/313/merge
parent
726e18943d
commit
73331a6a04
1 changed files with 11 additions and 0 deletions
Loading…
Reference in new issue