History log of /external/libxml2/xzlib.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a1313a6f8c48cc27b02f65aca6b04e6cd59d939a 28-Nov-2013 Mike Alexander <mta@umich.edu> Fix a bug loading some compressed files

For https://bugzilla.gnome.org/show_bug.cgi?id=712528
Related to https://bugzilla.redhat.com/show_bug.cgi?id=877567

There is a bug in xzlib.c which causes certain compressed XML files to fail to
load correctly. The code in xz_decomp which attempts to verify the checksum
and length of the expanded data fails if the checksum or length at the end of
the file crosses a 1024 byte boundary. It calls gz_next4 to get those two
values. This function uses the stream state in state->zstrm, but calls
xz_avail which uses the state->strm stream info. This causes gz_next4 to
signal a premature EOF if the data it is fetching crosses a 1024 byte boundary.
/external/libxml2/xzlib.c
63588f476f2dc89d4c6ef70a474d7230fbf4d45e 10-May-2013 Daniel Veillard <veillard@redhat.com> Fix a regression in xmlGetDocCompressMode()

The switch to xzlib had for consequence that the compression
level of the input was not gathered anymore in ctxt->input->buf,
then the parser compression flags was left to -1 and propagated
to the resulting document.
Fix the I/O layer to get compression detection in xzlib,
then carry it in the input buffer and the resulting document

This should fix
https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3456
/external/libxml2/xzlib.c
94431ecba6c458c56cb0f5b2a919ed4cf27107ba 15-May-2012 Daniel Veillard <veillard@redhat.com> Fix various bugs in new code raised by the API checking

* testapi.c: regenerated and covering new APIs
* tree.c: xmlBufferDetach can't work on immutable buffers
* xzlib.c: fix a deallocation error
/external/libxml2/xzlib.c
9f3cdef08a5d45c82c71bf740a54e2bc5d07f3ec 15-May-2012 Daniel Veillard <veillard@redhat.com> Fix a memory leak in the xzlib code

The freeing function wasn't called due to a bogus #ifdef surrounding
value. Also switch the code to use the normal libxml2 allocation and
freeing routines.
/external/libxml2/xzlib.c
996449273fd4a8fc656d42088779e236d456e47a 07-May-2012 Marcus Meissner <meissner@suse.de> fixed a 64bit big endian issue

For https://bugzilla.gnome.org/show_bug.cgi?id=671176
patch fixes a 64bit endian issue, making libxml2 work (again) on ppc64
unsigned int and size_t are differently sized on 64bit.
/external/libxml2/xzlib.c
72789ef21fed132bb15bd4e858cb524f41c79ed1 02-Apr-2012 Daniel Veillard <veillard@redhat.com> Do not use unsigned but unsigned int

as this breaks the API generator
/external/libxml2/xzlib.c
adf5ec9496828b18e683fb23bd1e670824cfb6d0 26-Jan-2012 Daniel Veillard <veillard@redhat.com> Cleanups of lzma support

- fix inclusion of the separated file
- use namespaced name for the 4 non-static routines
- add padding after external structures included in-situ
- add new requirement to spec file
- general cleanup of code
/external/libxml2/xzlib.c
6bdc774350d11117849a53f7baf2bb7e26b00009 19-Sep-2011 Anders F Bjorklund <afb@users.sourceforge.net> move xz/lzma helpers to separate included files
/external/libxml2/xzlib.c