Closed 1fxe closed 1 year ago
This is really just a POC, I'm not expeiranced at all with Zip format nor how to properly validate the LocalFileHeader and CentralDirectoryFileHeader are valid. Feel free to modify this/improve it. But atm all tests are passing
LocalFileHeader
CentralDirectoryFileHeader
Probably more robust solution is to get the length() and check its valid with the data?
length()
Implemented a bit differently via 93f506511df932486f8f7ef701a8ed0eb5d0446a
This is really just a POC, I'm not expeiranced at all with Zip format nor how to properly validate the
LocalFileHeader
andCentralDirectoryFileHeader
are valid. Feel free to modify this/improve it. But atm all tests are passing