1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

unzip: Correct compression method offset value

This commit is contained in:
AnotherTest 2020-07-14 14:30:40 +04:30 committed by Andreas Kling
parent ef84865c8c
commit d6c7cdce98

View file

@ -69,7 +69,7 @@ bool unpack_file_for_central_directory_index(off_t central_directory_index, cons
CFDHLocalFileHeaderIndexOffset = 42,
};
enum LocalFileHeaderOffsets {
LFHCompressionMethodOffset = 10,
LFHCompressionMethodOffset = 8,
LFHCompressedSizeOffset = 18,
LFHFileNameLengthOffset = 26,
LFHExtraFieldLengthOffset = 28,