mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 17:07:40 +00:00
[ZLIB] Update to v1.2.13. CORE-18752
This commit is contained in:
parent
6ae2f432b3
commit
144e984b40
29 changed files with 379 additions and 318 deletions
7
sdk/lib/3rdparty/zlib/contrib/minizip/zip.c
vendored
7
sdk/lib/3rdparty/zlib/contrib/minizip/zip.c
vendored
|
@ -1477,11 +1477,6 @@ extern int ZEXPORT zipWriteInFileInZip (zipFile file,const void* buf,unsigned in
|
|||
{
|
||||
uLong uTotalOutBefore = zi->ci.stream.total_out;
|
||||
err=deflate(&zi->ci.stream, Z_NO_FLUSH);
|
||||
if(uTotalOutBefore > zi->ci.stream.total_out)
|
||||
{
|
||||
int bBreak = 0;
|
||||
bBreak++;
|
||||
}
|
||||
|
||||
zi->ci.pos_in_buffered_data += (uInt)(zi->ci.stream.total_out - uTotalOutBefore) ;
|
||||
}
|
||||
|
@ -1965,7 +1960,7 @@ extern int ZEXPORT zipRemoveExtraInfoBlock (char* pData, int* dataLen, short sHe
|
|||
|
||||
int retVal = ZIP_OK;
|
||||
|
||||
if(pData == NULL || *dataLen < 4)
|
||||
if(pData == NULL || dataLen == NULL || *dataLen < 4)
|
||||
return ZIP_PARAMERROR;
|
||||
|
||||
pNewHeader = (char*)ALLOC((unsigned)*dataLen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue