History log of /external/libxml2/xmlstring.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5a0ae66d7202619d493985537818e052d9d1239f 17-Jun-2017 Nick Wellnhofer <wellnhofer@aevum.de> Documentation fixes

Fixes bug 347465, bug 599433, bug 624550, bug 698253.
/external/libxml2/xmlstring.c
8bbe4508ef2a97110eac02f16782678c38ea97af 17-Jun-2017 Nick Wellnhofer <wellnhofer@aevum.de> Spelling and grammar fixes

Fixes bug 743172, bug 743489, bug 769632, bug 782400 and a few other
misspellings.
/external/libxml2/xmlstring.c
502f6a6d08b08c04b3ddfb1cd21b2f699c1b7f5b 23-May-2016 David Kilzer <ddkilzer@apple.com> More format string warnings with possible format string vulnerability

For https://bugzilla.gnome.org/show_bug.cgi?id=761029

adds a new xmlEscapeFormatString() function to escape composed format
strings
/external/libxml2/xmlstring.c
4472c3a5a5b516aaf59b89be602fbce52756c3e9 13-May-2016 David Kilzer <ddkilzer@webkit.org> Fix some format string warnings with possible format string vulnerability

For https://bugzilla.gnome.org/show_bug.cgi?id=761029

Decorate every method in libxml2 with the appropriate
LIBXML_ATTR_FORMAT(fmt,args) macro and add some cleanups
following the reports.
/external/libxml2/xmlstring.c
8fbbf5513d609c1770b391b99e33314cd0742704 09-Mar-2016 Pranjal Jumde <pjumde@apple.com> Bug 763071: heap-buffer-overflow in xmlStrncat <https://bugzilla.gnome.org/show_bug.cgi?id=763071>

* xmlstring.c:
(xmlStrncat): Return NULL if xmlStrlen returns a negative length.
(xmlStrncatNew): Ditto.
/external/libxml2/xmlstring.c
96a5c17ee154add361abbae27b29c86e398fc1b9 21-Apr-2016 Nick Wellnhofer <wellnhofer@aevum.de> Fix OOB read with invalid UTF-8 in xmlUTF8Strsize

With certain invalid UTF-8, xmlUTF8Strsize can read up to 6 bytes
beyond the end of the string and return the wrong size.

This means that in xmlUTF8Strndup and similar code, some content behind
the string is copied. But since the terminating \0 is copied as well,
this probably can't be exploited to leak sensitive information.

Found by afl-fuzz and ASan.
/external/libxml2/xmlstring.c
f8e3db0445a1bc8cfe3f77326b07ec161482caa2 11-Sep-2012 Daniel Veillard <veillard@redhat.com> Big space and tab cleanup

Remove all space before tabs and space and tabs at end of lines.
/external/libxml2/xmlstring.c
fcf2457d2054af07c8b472f83efceb7985141fbc 12-Aug-2009 Daniel Veillard <veillard@redhat.com> Both args of xmlStrcasestr are const

* include/libxml/xmlstring.h xmlstring.c: fix the constness of the
second arg of xmlStrcasestr()
/external/libxml2/xmlstring.c
d95ecf0b8dca43728db354bf6e7434f96179080c 22-Dec-2005 Daniel Veillard <veillard@src.gnome.org> Fixed xmlStrEqual() doc, Daniel
/external/libxml2/xmlstring.c
5bb0c08d2f2107f4f859a7ebfd05b94d461ff1d6 20-Dec-2005 Kasimier T. Buchcik <kbuchcik@src.gnome.org> Fixed a segfault during text concatenation when validating a node tree:

* xmlschemas.c xmlstring.c: Fixed a segfault during
text concatenation when validating a node tree:
xmlStrncat was called with a @len of -1; but unlike
xmlStrncatNew, it does not calculate the length
automatically in such a case (reported by Judy Hay
on the mailing list).
Updated the descriptions of the involved string
functions to note this.
/external/libxml2/xmlstring.c
6a0baa0cd89b402cdfbb63e9c40f291ebd191f1d 10-Dec-2005 Daniel Veillard <veillard@src.gnome.org> fixed a number of warnings shown by HP-UX compiler and reported by Rick

* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number
of warnings shown by HP-UX compiler and reported by Rick Jones
Daniel
/external/libxml2/xmlstring.c
ffa3c74933baa45bef5e0d7f15473c38a4c3f9e8 21-Jul-2005 Daniel Veillard <veillard@src.gnome.org> applied a patch from Marcus Boerger to fix problems with calling

* error.c globals.c parser.c runtest.c testHTML.c testSAX.c
threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c
xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h
include/libxml/valid.h include/libxml/xmlIO.h
include/libxml/xmlerror.h include/libxml/xmlexports.h
include/libxml/xmlschemas.h: applied a patch from Marcus Boerger
to fix problems with calling conventions on Windows this should
fix #309757
Daniel
/external/libxml2/xmlstring.c
5d4644ef6e38479a648615eca758c5e962a141d5 01-Apr-2005 Daniel Veillard <veillard@src.gnome.org> revamped the elfgcchack.h format to cope with gcc4 change of aliasing

* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
format to cope with gcc4 change of aliasing allowed scopes, had
to add extra informations to doc/libxml2-api.xml to separate
the header from the c module source.
* *.c: updated all c library files to add a #define bottom_xxx
and reimport elfgcchack.h thereafter, and a bit of cleanups.
* doc//* testapi.c: regenerated when rebuilding the API
Daniel
/external/libxml2/xmlstring.c
230c5504d175844c696817d37aaa18b4388f988f 20-Dec-2004 William M. Brack <wbrack@src.gnome.org> reset input->base within xmlStopParser removed call to xmlUTF8Strlen from

* parser.c: reset input->base within xmlStopParser
* xmlstring.c: removed call to xmlUTF8Strlen from within
xmlUTF8Strpos (Bill Moseley pointed out it was not
useful)
/external/libxml2/xmlstring.c
5ea30d7f9523dfd6280251f0310b0fd75c461aa8 08-Nov-2004 Daniel Veillard <veillard@src.gnome.org> more fixes. Daniel

* parser.c testapi.c xmlIO.c xmlstring.c: more fixes.
Daniel
/external/libxml2/xmlstring.c
ce682bc24b79f1dd29b781d4c17f9bf169ce7e32 05-Nov-2004 Daniel Veillard <veillard@src.gnome.org> autogenerate a minimal NULL value sequence for unknown pointer types This

* gentest.py testapi.c: autogenerate a minimal NULL value sequence
for unknown pointer types
* HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
xpointer.c: This uncovered an impressive amount of entry points
not checking for NULL pointers when they ought to, closing all
the open gaps.
Daniel
/external/libxml2/xmlstring.c
8a32fe48390c861709cafa44bbf65b7e5e5dfe36 02-Nov-2004 Daniel Veillard <veillard@src.gnome.org> more testing and coverage more cleanups rebuilt Daniel

* gentest.py testapi.c: more testing and coverage
* elfgcchack.h xmlstring.c include/libxml/xmlstring.h: more cleanups
* doc/*: rebuilt
Daniel
/external/libxml2/xmlstring.c
36e5cd5064d3477a0500f6183d68b18b7493568a 02-Nov-2004 Daniel Veillard <veillard@src.gnome.org> adding xmlMemBlocks() work on generator of an automatic API regression

* xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks()
* Makefile.am gentest.py testapi.c: work on generator of an
automatic API regression test tool.
* SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c
xmlstring.c: various API hardeing changes as a result of running
teh first set of automatic API regression tests.
* test/slashdot16.xml: apparently missing from CVS, commited it
Daniel
/external/libxml2/xmlstring.c
b7b54de6c69074c9f5a81ad71cfa12f7005f2505 06-Oct-2004 William M. Brack <wbrack@src.gnome.org> added code to handle <group>, including dumping to output (bug 151924).

* catalog.c: added code to handle <group>, including dumping
to output (bug 151924).
* xmlcatalog.c, xmlstring.c, parser.c: minor compiler warning
cleanup (no change to logic)
/external/libxml2/xmlstring.c
3e53016965c2ce5bc386164b5e996eaf42e42a64 03-Sep-2004 William M. Brack <wbrack@src.gnome.org> modified comments on xmlGetUTF8Char in response to bug 151760 (no change

* xmlstring.c: modified comments on xmlGetUTF8Char in
response to bug 151760 (no change to logic)
/external/libxml2/xmlstring.c
f409515f15f34811f319ca4d5d9ba77b525eda8c 31-Aug-2004 William M. Brack <wbrack@src.gnome.org> fixed error reported on the list caused by my last change

* xmlstring.c: fixed error reported on the list caused by
my last change
/external/libxml2/xmlstring.c
bf5cf2196c619c6ec2fec5fdf31cd6b040df508d 31-Aug-2004 William M. Brack <wbrack@src.gnome.org> fixed bug introduced during OOM fixup causing problems with default

* SAX2.c: fixed bug introduced during OOM fixup causing problems
with default namespace when a named prefix with the same href
was present (reported on the mailing list by Karl Eichwalder.
* xmlstring.c: modified xmlCheckUTF8 with suggested code from
Julius Mittenzwei.
* dict.c: added a typecast to try to avoid problem reported by
Pascal Rodes.
/external/libxml2/xmlstring.c
3ffe90ea1cbd4fd8eb2eb162d7940a445f1455d6 28-Aug-2004 William M. Brack <wbrack@src.gnome.org> fixed a problem with xmlCheckUTF8 reported on the mailing list by Julius

* xmlstring.c: fixed a problem with xmlCheckUTF8 reported on the
mailing list by Julius Mittenzwei
/external/libxml2/xmlstring.c
1f8658a76f155c460604fd295e7e66828c054ade 14-Aug-2004 Daniel Veillard <veillard@src.gnome.org> Dodji pointed out a bug in xmlGetNodePath() applied patch from Albert Chin

* tree.c: Dodji pointed out a bug in xmlGetNodePath()
* xmlcatalog.c: applied patch from Albert Chin to add a
--no-super-update option to xmlcatalog see #145461
and another patch also from Albert Chin to not crash
on -sgml --del without args see #145462
* Makefile.am: applied another patch from Albert Chin to
fix a problem with diff on Solaris #145511
* xmlstring.c: fix xmlCheckUTF8() according to the suggestion
in bug #148115
* python/libxml.py: apply fix from Marc-Antoine Parent about
the errors in libxml(2).py on the node wrapper #135547
Daniel
/external/libxml2/xmlstring.c
c82c57e69cedae457ecbfe8028bd9ed2c65b2f46 12-Jan-2004 Daniel Veillard <veillard@src.gnome.org> some parser optimizations, xmllint --memory --timing --repeat --stream

* dict.c parser.c xmlstring.c: some parser optimizations,
xmllint --memory --timing --repeat --stream ./db10000.xml
went down from 16.5 secs to 15.5 secs.
Daniel
/external/libxml2/xmlstring.c
a2e844a3b3503367a4418187e77ccc977f186909 06-Jan-2004 William M. Brack <wbrack@src.gnome.org> moved string and UTF8 routines out of parser.c and encoding.c into a new

* encoding.c, parser.c, xmlstring.c, Makefile.am,
include/libxml/Makefile.am, include/libxml/catalog.c,
include/libxml/chvalid.h, include/libxml/encoding.h,
include/libxml/parser.h, include/libxml/relaxng.h,
include/libxml/tree.h, include/libxml/xmlwriter.h,
include/libxml/xmlstring.h:
moved string and UTF8 routines out of parser.c and encoding.c
into a new module xmlstring.c with include file
include/libxml/xmlstring.h mostly using patches from Reid
Spencer. Since xmlChar now defined in xmlstring.h, several
include files needed to have a #include added for safety.
* doc/apibuild.py: added some additional sorting for various
references displayed in the APIxxx.html files. Rebuilt the
docs, and also added new file for xmlstring module.
* configure.in: small addition to help my testing; no effect on
normal usage.
* doc/search.php: added $_GET[query] so that persistent globals
can be disabled (for recent versions of PHP)
/external/libxml2/xmlstring.c