mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:35:45 +00:00
[LIBXML2] Update to version 2.9.7. CORE-14291
This commit is contained in:
parent
b97f0a8fed
commit
fc82f8e2e3
52 changed files with 1978 additions and 2458 deletions
4
sdk/lib/3rdparty/libxml2/xzlib.c
vendored
4
sdk/lib/3rdparty/libxml2/xzlib.c
vendored
|
@ -408,7 +408,7 @@ xz_head(xz_statep state)
|
|||
state->strm = init;
|
||||
state->strm.avail_in = 0;
|
||||
state->strm.next_in = NULL;
|
||||
if (lzma_auto_decoder(&state->strm, UINT64_MAX, 0) != LZMA_OK) {
|
||||
if (lzma_auto_decoder(&state->strm, 100000000, 0) != LZMA_OK) {
|
||||
xmlFree(state->out);
|
||||
xmlFree(state->in);
|
||||
state->size = 0;
|
||||
|
@ -797,6 +797,8 @@ __libxml2_xzclose(xzFile file)
|
|||
xmlFree(state->in);
|
||||
}
|
||||
xmlFree(state->path);
|
||||
if ((state->msg != NULL) && (state->err != LZMA_MEM_ERROR))
|
||||
xmlFree(state->msg);
|
||||
ret = close(state->fd);
|
||||
xmlFree(state);
|
||||
return ret ? ret : LZMA_OK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue