[core/zip+lzma] Properly account for header size [v6.26]#14626
[core/zip+lzma] Properly account for header size [v6.26]#14626hahnjo merged 4 commits intoroot-project:v6-26-00-patchesfrom
Conversation
R__unzipZLIB is already properly subtracting it from srcsize. (cherry picked from commit 44d1c23)
lzma_code must only see the buffers without the header, so the sizes have to be adjusted accordingly. Fixes root-project#14508 (cherry picked from commit 17e3561)
In practice, the target size is greater or equal the source size in most cases for ROOT, but add this additional correct check to fuzz the inputs in the next commit. (cherry picked from commit 23261a6)
This would have found any of the previous three commits. (cherry picked from commit 73d8c3d)
|
Starting build on |
|
Build failed on ROOT-ubuntu2204/nortcxxmod. Warnings:
|
|
Build failed on ROOT-performance-centos8-multicore/soversion. Failing tests:
|
|
Build failed on mac12arm/cxx20. Errors:
And 5 more Warnings:
And 303 more |
|
Build failed on ROOT-ubuntu2004/python3. Failing tests: |
|
The |
The compression algorithms only see the buffers without the header, so the sizes have to be adjusted accordingly.
Fixes #14508, backport of #14523