Files
scummvm/common/compression
Kaloyan Chehlarski f5bed36b54 COMMON: Fix edge case in InstallShield file extraction
It is possible for a file table to contain multiple entries for
the same file, each with a different volume. This is valid,
and means that the file can be extracted from multiple .cab
files.
However, sometimes the header can report a file as existing
in multiple volumes despite it not actually being present in
all of them. The previous policy when encountering
duplicate entries was to just overwrite, which effectively
resulted in us keeping the last encountered entry, which
would be for the highest volume id. However, when an
erroneous entry mentioned above was encountered,
extraction would fail.
This commit makes it so we now keep the entry with the
lowest volume id, and discard the rest.
2023-11-09 22:18:11 +02:00
..
2023-08-28 21:49:03 +02:00
…
…
2023-06-19 21:59:24 +03:00
2023-08-28 21:49:03 +02:00
2023-06-19 08:45:32 +03:00
2023-02-10 23:51:13 +01:00