Update libexpat to version 2.2.1 which has some security fixes.
authorbluhm <bluhm@openbsd.org>
Fri, 30 Jun 2017 11:25:29 +0000 (11:25 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 30 Jun 2017 11:25:29 +0000 (11:25 +0000)
commit2feb5d2a36a799a4048160a74a6d32eed43212af
treed4f801633a8d70547f9da3eeed271b50e1e132a6
parent3337783520cf843c6aaf1700fb7b5b87d0b18c89
Update libexpat to version 2.2.1 which has some security fixes.
- CVE-2017-9233 CVE-2016-9063 CVE-2016-5300 CVE-2016-4472 CVE-2016-0718
  CVE-2015-2716 CVE-2015-1283 CVE-2012-6702 CVE-2012-0876 have been
  addressed.  Not all of them affect OpenBSD as we had fixes before.
- Upstream uses arc4random_buf(3) now.  Delete all code for other
  entropy sources to make sure to compile the correct one.  Our
  library already used arc4random(3) before.
- The overflow fixes in rev 1.11 and 1.12 of lib/xmlparse.c
  have been commited upstream in a different way.  Use the upstream
  code to make maintenance easier.
- Although it should be ABI compatible, there is a new global
  symbol align_limit_to_full_utf8_characters.  As it is in
  lib/internal.h, add a Symbols.map to restrict the export.  Do not
  bump the shared library version.
- Use the internal expat's siphash.h.
ports build ajacoutot@; move ahead deraadt@
19 files changed:
lib/libexpat/AUTHORS [new file with mode: 0644]
lib/libexpat/COPYING
lib/libexpat/Changes
lib/libexpat/Makefile
lib/libexpat/README
lib/libexpat/Symbols.map [new file with mode: 0644]
lib/libexpat/doc/reference.html
lib/libexpat/examples/elements.c
lib/libexpat/examples/outline.c
lib/libexpat/expat_config.h
lib/libexpat/lib/expat.h
lib/libexpat/lib/expat_external.h
lib/libexpat/lib/internal.h
lib/libexpat/lib/siphash.h [new file with mode: 0644]
lib/libexpat/lib/winconfig.h
lib/libexpat/lib/xmlparse.c
lib/libexpat/lib/xmlrole.c
lib/libexpat/lib/xmltok.c
lib/libexpat/lib/xmltok_impl.c