mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 19:41:41 +00:00
fixed possible overflow
This commit is contained in:
1 parent
536b9e1cca
commit
59c756822d
1 file changed
+1
-1
+1
-1
@@ -378,7 +378,7 @@ namespace data
|
||||
// take care about data descriptor if presented
|
||||
if (bitFlag & ZIP_BIT_FLAG_DATA_DESCRIPTOR)
|
||||
{
|
||||
size_t pos = s.tellg ();
|
||||
auto pos = s.tellg ();
|
||||
if (!FindZipDataDescriptor (s))
|
||||
{
|
||||
LogPrint (eLogError, "Reseed: SU3 archive data descriptor not found");
|
||||
|
||||
Reference in new issue
Block a user