summaryrefslogtreecommitdiffstats
path: root/LzmaDec.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-10 08:40:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-10 08:40:31 +0000
commit10e3a59a25eda2b93c796c47359853c5b8dfc6ea (patch)
treef9150853a6efb876658d94db232a755f1b44a44e /LzmaDec.c
parentReleasing debian version 1.13-2. (diff)
downloadpdlzip-10e3a59a25eda2b93c796c47359853c5b8dfc6ea.tar.xz
pdlzip-10e3a59a25eda2b93c796c47359853c5b8dfc6ea.zip
Merging upstream version 1.14~rc1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--LzmaDec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LzmaDec.c b/LzmaDec.c
index 1236bd3..bd2a45a 100644
--- a/LzmaDec.c
+++ b/LzmaDec.c
@@ -716,8 +716,8 @@ static bool LzmaDec_DecodeToDic(CLzmaDec *p, uint32_t dicLimit,
*status = LZMA_STATUS_NEEDS_MORE_INPUT;
return true;
}
- if (p->tempBuf[0] != 0)
- return false;
+ /* check first byte of the LZMA stream */
+ if (p->tempBuf[0] != 0) return false;
LzmaDec_InitRc(p, p->tempBuf);
p->tempBufSize = 0;