From 90c19e287d02a962876f74e560812e75f370dbf7 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 23 Dec 2013 19:37:37 -0600 Subject: [PATCH] read_lookup_table(): Ignore PACKED_STREAMS flag if default WIM version --- src/lookup_table.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lookup_table.c b/src/lookup_table.c index 0538dd05..b1e86828 100644 --- a/src/lookup_table.c +++ b/src/lookup_table.c @@ -578,6 +578,9 @@ read_wim_lookup_table(WIMStruct *wim) reshdr.size_in_wim, reshdr.uncompressed_size, reshdr.offset_in_wim, reshdr.flags); + if (wim->hdr.wim_version == WIM_VERSION_DEFAULT) + reshdr.flags &= ~WIM_RESHDR_FLAG_PACKED_STREAMS; + cur_entry = new_lookup_table_entry(); if (cur_entry == NULL) { ERROR("Not enough memory to read lookup table!"); -- 2.43.0