mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 12:07:03 -06:00
4.23
This commit is contained in:
committed by
Kornel Lesiński
parent
3c510ba80b
commit
ac2b563958
@@ -811,7 +811,9 @@ SZ_RESULT SzReadStreamsInfo(
|
||||
{
|
||||
UInt64 type;
|
||||
RINOK(SzReadID(sd, &type));
|
||||
switch(type)
|
||||
if ((UInt64)(int)type != type)
|
||||
return SZE_FAIL;
|
||||
switch((int)type)
|
||||
{
|
||||
case k7zIdEnd:
|
||||
return SZ_OK;
|
||||
@@ -989,8 +991,13 @@ SZ_RESULT SzReadHeader2(
|
||||
if (type == k7zIdEnd)
|
||||
break;
|
||||
RINOK(SzReadNumber(sd, &size));
|
||||
|
||||
switch(type)
|
||||
|
||||
if ((UInt64)(int)type != type)
|
||||
{
|
||||
RINOK(SzSkeepDataSize(sd, size));
|
||||
}
|
||||
else
|
||||
switch((int)type)
|
||||
{
|
||||
case k7zIdName:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user