rebuild_wim(): Fix use of freed memory
authorEric Biggers <ebiggers3@gmail.com>
Tue, 1 Jan 2013 06:42:01 +0000 (00:42 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 1 Jan 2013 06:42:01 +0000 (00:42 -0600)
commit7581bc32cef9ad931183ce582454fffbd7401ca1
treece22469060af65b7825d9da38a9e54b879f1c220
parent88a9d8314ba480d0eb7be351581d2be183efa91e
rebuild_wim(): Fix use of freed memory

update_lte_of_staging_file() can result in the freeing of the lookup table
entry, so the staging list should be traversed with list_for_each_entry_safe()
rather than list_for_each_entry().
src/mount_image.c