summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmlparse.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31170: Update libexpat from 2.2.3 to 2.2.4 (#3315)Victor Stinner2017-09-061-7/+30
| | | | | | | | | | | | | | | | Fix copying of partial characters for UTF-8 input (libexpat bug 115): https://github.com/libexpat/libexpat/issues/115 (cherry picked from commit 759e30ec47048cb9835c62aaeac48748c8151390) The standard header stdbool.h is not available with old Visual Studio compilers Cherry-picked from libexpat b4b89c2ab0cc5325a41360c25ef9d2ccbe617e5c. expat: Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation. Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3145)Victor Stinner2017-08-181-72/+458
| | | | | | | | | | | | | | | | | | * bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat Python 2.7 backport: add expat/loadlibrary.c to PC/VS9.0/ project files (_elementtree and pyexpat). (cherry picked from commit 93d0cb58b4da2a88c56f472c6c19491cc7a390df)
* [2.7] bpo-30797: Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) ↵Segev Finer2017-07-111-1/+1
| | | | | | | | | | (#2672) * [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089) * [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670). (cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089)
* [2.7] bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2312)Victor Stinner2017-06-211-123/+486
| | | | | | | | | | | * bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) New file: Modules/expat/siphash.h. (cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13) * siphash.h: Address lack of stdint.h for Visual Studio 2003-2008 (cherry picked from libexpat commit c74d380b8f0b5215153d840d2af9455d9c53b960)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2202)Victor Stinner2017-06-151-34/+79
| | | | | | | | | | | | | | | | | | | | | | * bpo-29591: Upgrade Modules/expat to libexpat 2.2 * bpo-29591: Restore Python changes on expat * bpo-29591: Remove expat config of unsupported platforms Remove the configuration (Modules/expat/*config.h) of unsupported platforms: * Amiga * MacOS Classic on PPC32 * Open Watcom * bpo-29591: Remove useless XML_HAS_SET_HASH_SALT The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became useless since our local expat copy was upgrade to expat 2.1 (it's now expat 2.2.0). (cherry picked from commit 23ec4b57e1359f9c539b8defc317542173ae087e)
* Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter2016-06-211-6/+6
| | | | | | | | | | | | | | * Set but unused variable in Parser/pgen.c in non-debug builds. Patch by Christian Heimes. * Unused static function in Modules/readline.c. Patch by Georg Brandl. * main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith. * Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett Cannon. * Expression result unused in PyObject_INIT macro expansions. Based on patches by Christian Heimes. * Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE redefined'. Extracted from patch by Christian Heimes.
* upgrade expt to 2.1.1 (closes #26556)Benjamin Peterson2016-06-111-4/+22
|
* Update the embedded copy of the expat XML parser to 2.1.0. It bringsGregory P. Smith2012-07-141-175/+248
| | | | | | | | | with it a vareity of bug fixes, both security and behavior. See http://www.libexpat.org/ for the list. NOTE: I already backported the expat hash randomization fix in March. Fixes issue #14340.
* Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-141-59/+118
| | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
* - Expat: Fix DoS via XML document with malformed UTF-8 sequencesMatthias Klose2010-01-221-0/+3
| | | | (CVE_2009_3560).
* Handle failures from lookup.Neal Norwitz2006-08-131-0/+4
| | | | Klocwork 341-342
* - back out Expat change; the final fix to Expat will be differentFred Drake2006-07-061-2/+0
| | | | | - change the pyexpat wrapper to not be so sensitive to this detail of the Expat implementation (the ex-crasher test still passes)
* SF bug #1296433 (Expat bug #1515266): Unchecked calls to character dataFred Drake2006-07-011-0/+2
| | | | | | | | handler would cause a segfault. This merges in Expat's lib/xmlparse.c revisions 1.154 and 1.155, which fix this and a closely related problem (the later does not affect Python). Moved the crasher test to the tests for xml.parsers.expat.
* Upgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338).Trent Mick2006-06-191-126/+207
|
* Fix breakage from patch 1471883 (r45800 & r45808) on OSF/1.Neal Norwitz2006-05-021-4/+4
| | | | | | The problem was that pyconfig.h was being included before some system headers which caused redefinitions and other breakage. This moves system headers after expat_config.h which includes pyconfig.h.
* Fix icc warnings: using wrong enum typeNeal Norwitz2006-01-071-2/+2
|
* update to Expat 1.95.8Fred Drake2004-08-031-218/+587
|
* Update to Expat 1.95.7; there are no changes to the Expat sources.Fred Drake2003-10-211-196/+315
|
* Update to the final version released as Expat 1.95.6 (maintainingFred Drake2003-01-281-78/+66
| | | | Martin's integration changes).
* Undo inclusion of Python.h. Remove HAVE_MEMCPY section.Martin v. Löwis2003-01-261-12/+0
| | | | Update Windows command line.
* Incorporate Expat 1.95.6.Martin v. Löwis2003-01-251-2146/+3228
|
* Disable usage of Expat's config.h.Martin v. Löwis2002-02-111-0/+2
|
* Initial revisionMartin v. Löwis2002-02-111-0/+4635