resource.c: fix bug in read_compressed_wim_resource()
authorEric Biggers <ebiggers3@gmail.com>
Thu, 5 Nov 2015 03:55:02 +0000 (21:55 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 7 Nov 2015 21:05:15 +0000 (15:05 -0600)
commit02b3060d08d91d12bc96e077b4d23418d66174cf
tree641db7237c452523bf05bddbb045035b32d13756
parent10625fec55941b45fc8ae6cf4b74fa8e629d21a7
resource.c: fix bug in read_compressed_wim_resource()

The number of chunk entries to read could be incorrectly computed as 1
rather than 0.  This caused an on-stack array to be overflowed by 8
bytes.
src/resource.c