ppt_parser: Fixes iterative_decompress()#609
Open
jloehel wants to merge 1 commit intodecalage2:masterfrom
Open
ppt_parser: Fixes iterative_decompress()#609jloehel wants to merge 1 commit intodecalage2:masterfrom
jloehel wants to merge 1 commit intodecalage2:masterfrom
Conversation
The `ppt_parser.iterative_decompress()` function fails if in example the area `oleStgCompressed` of a `ExOleObjStgCompressedAtom` record has no zlib header. Specs: https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-ppt/305e541f-2c91-49c5-a742-4955330fd2b9 The function trys now to auto-detect the header in the first place if the detection fails the function retries the decompression without header. Fixes: decalage2#608 Signed-off-by: Jürgen Löhel <juergen.loehel@inlyse.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
ppt_parser.iterative_decompress()function fails if inexample the area
oleStgCompressedof anExOleObjStgCompressedAtomrecord has no zlib header.
Specs: https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-ppt/305e541f-2c91-49c5-a742-4955330fd2b9
The function trys now to auto-detect the header in the first place
if the detection fails the function retries the decompression without
header.
Fixes: #608
Signed-off-by: Jürgen Löhel juergen.loehel@inlyse.com