mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-10-12 02:01:37 +00:00
When uncompressing file data from a ZIP, limits are now placed on the amount of bytes read, based on the reported file sizes. For files, we then check and error if the read size is over the reported uncompressed file size in the ZIP, instead of relying on the reported ZIP size from metadata. Added test to cover.