projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[USETUP]
[reactos.git]
/
reactos
/
base
/
setup
/
usetup
/
cabinet.c
diff --git
a/reactos/base/setup/usetup/cabinet.c
b/reactos/base/setup/usetup/cabinet.c
index
9f02425
..
1d16ac0
100644
(file)
--- a/
reactos/base/setup/usetup/cabinet.c
+++ b/
reactos/base/setup/usetup/cabinet.c
@@
-1098,7
+1098,7
@@
CabinetExtractFile(PCAB_SEARCH Search)
Size -= OutputLength;
/* reduce remaining block size by bytes consumed */
RemainingBlock -= InputLength;
- if (RemainingBlock == 0)
+ if (
Size > 0 &&
RemainingBlock == 0)
{
/* used up this block, move on to the next */
DPRINT("Out of block data\n");