Idan Horowitz
4317db7498
LibArchive: Make bounds checks stricter in the Zip parser
...
We now also check we have enough space in the incoming buffer for the
various signatures and optional (length specified) fields. This helps
prevents a possible heap overflow read.
2021-03-27 16:28:48 +01:00
Idan Horowitz
550ae23e80
LibArchive: Implement ZipOutputStream for zip archive creation
...
This output stream can be used to create zip archives, and will
be used in the implementation of the zip utility.
2021-03-23 16:09:36 +01:00
Idan Horowitz
caf4bde3a9
LibArchive: Add Zip file parser
...
This is based on the zip specification on PKWARE's zip specification
(https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT ) and will
be used in the unzip utility and eventually in the zip utility.
2021-03-23 16:09:36 +01:00