vendor/expat: upgrade from 2.1.0 to 2.5.0vendor/EXPAT
commit0c65ac1dc98bdeacfd970251eb73ccf33a29b90b
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sat, 12 Nov 2022 15:38:24 +0000 (12 16:38 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sat, 12 Nov 2022 15:53:35 +0000 (12 16:53 +0100)
tree5b8522321faea8776932017f6675094154635254
parentfd43634529f3dae75707ea9b0fd56fd06a9cad78
vendor/expat: upgrade from 2.1.0 to 2.5.0

Summary of notable changes:

 - Detect overflow from len=INT_MAX call to XML_Parse
 - Fix a dangling pointer issue related to realloc
 - Fix copying of partial characters for UTF-8 input
 - Avoid doing arithmetic with NULL pointers in XML_GetBuffer
 - Fix reading uninitialized variable during parsing
 - CVE-2015-1283 - Multiple integer overflows in XML_GetBuffer
 - Fix potential null pointer dereference
 - Following CVEs were handled (not a complete list)
   CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, CVE-2012-0876
   CVE-2012-6702, CVE-2017-9233, CVE-2016-9063, CVE-2018-20843
   CVE-2019-15903,CVE-2013-0340/CWE-776, CVE-2021-45960
   CVE-2021-46143, CVE-2022-22822 to CVE-2022-22827
   CVE-2022-23852, CVE-2022-23990, CVE-2022-43680

For detailed list of all changes, bugfixes and improvements, see Changes.
32 files changed:
contrib/expat/COPYING [changed mode: 0755->0644]
contrib/expat/Changes [changed mode: 0755->0644]
contrib/expat/expat_config.h [new file with mode: 0644]
contrib/expat/expat_config.h.in [deleted file]
contrib/expat/lib/Makefile.MPW [deleted file]
contrib/expat/lib/amigaconfig.h [deleted file]
contrib/expat/lib/ascii.h
contrib/expat/lib/asciitab.h
contrib/expat/lib/expat.dsp [deleted file]
contrib/expat/lib/expat.h
contrib/expat/lib/expat_external.h
contrib/expat/lib/expat_static.dsp [deleted file]
contrib/expat/lib/expatw.dsp [deleted file]
contrib/expat/lib/expatw_static.dsp [deleted file]
contrib/expat/lib/iasciitab.h
contrib/expat/lib/internal.h
contrib/expat/lib/latin1tab.h
contrib/expat/lib/libexpat.def [deleted file]
contrib/expat/lib/libexpatw.def [deleted file]
contrib/expat/lib/macconfig.h [deleted file]
contrib/expat/lib/nametab.h
contrib/expat/lib/siphash.h [new file with mode: 0644]
contrib/expat/lib/utf8tab.h
contrib/expat/lib/winconfig.h
contrib/expat/lib/xmlparse.c
contrib/expat/lib/xmlrole.c
contrib/expat/lib/xmlrole.h
contrib/expat/lib/xmltok.c
contrib/expat/lib/xmltok.h
contrib/expat/lib/xmltok_impl.c
contrib/expat/lib/xmltok_impl.h
contrib/expat/lib/xmltok_ns.c