finish_write(): Don't use old integrity table if already overwritten
authorEric Biggers <ebiggers3@gmail.com>
Sat, 14 Jun 2014 04:46:58 +0000 (23:46 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 14 Jun 2014 04:54:51 +0000 (23:54 -0500)
commit30826771c6e9970635b393adc15048804d45677e
tree0431f3e00921a505fdbf57d22f90348e7b436e3e
parent46f7620b9f31cb51e2df41b36d93015911fc290b
finish_write(): Don't use old integrity table if already overwritten

When updating a WIM in-place without modifying the lookup table, the new
XML data will spill into the old integrity table if the new XML data is
longer than the old XML data.  Temporarily fix this by not using the old
integrity table in this case.
src/write.c