]> granicus.if.org Git - libexpat/blob - expat/Changes
Changes: Document #347
[libexpat] / expat / Changes
1 NOTE: We are looking for help with a few things:
2       https://github.com/libexpat/libexpat/labels/help%20wanted
3       If you can help, please get in touch.  Thanks!
4
5 Release x.x.x xxx xxxxxxxxx xx xxxx
6         Other changes:
7                   examples: Drop executable bits from elements.c
8             #349  Windows: Change the name of the Windows DLLs from expat*.dll
9                     to libexpat*.dll once more (regression from 2.2.8, first
10                     fixed in 1.95.3, issue #61 on SourceForge today,
11                     was issue #432456 back then); needs a fix due
12                     case-insensitive file systems on Windows and the fact that
13                     Perl's XML::Parser::Expat compiles into Expat.dll.
14             #347  Windows: Only define _CRT_RAND_S if not defined
15
16         Special thanks to:
17             Ben Wagner
18
19 Release 2.2.8 Fri Septemper 13 2019
20         Security fixes:
21        #317 #318  CVE-2019-15903 -- Fix heap overflow triggered by
22                     XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber),
23                     and deny internal entities closing the doctype;
24                     fixed in commit c20b758c332d9a13afbbb276d30db1d183a85d43
25
26         Bug fixes:
27             #240  Fix cases where XML_StopParser did not have any effect
28                     when called from inside of an end element handler
29             #341  xmlwf: Fix exit code for operation without "-d DIRECTORY";
30                     previously, only "-d DIRECTORY" would give you a proper
31                     exit code:
32                       # xmlwf -d . <<<'<not well-formed>' 2>/dev/null ; echo $?
33                       2
34                       # xmlwf <<<'<not well-formed>' 2>/dev/null ; echo $?
35                       0
36                     Now both cases return exit code 2.
37
38         Other changes:
39        #299 #302  Windows: Replace LoadLibrary hack to access
40                     unofficial API function SystemFunction036 (RtlGenRandom)
41                     by using official API function rand_s (needs WinXP+)
42             #325  Windows: Drop support for Visual Studio <=7.1/2003
43                     and document supported compilers in README.md
44             #286  Windows: Remove COM code from xmlwf; in case it turns
45                     out needed later, there will be a dedicated repository
46                     below https://github.com/libexpat/ for that code
47             #322  Windows: Remove explicit MSVC solution and project files.
48                     You can generate Visual Studio solution files through
49                     CMake, e.g.: cmake -G"Visual Studio 15 2017" .
50             #338  xmlwf: Make "xmlwf -h" help output more friendly
51             #339  examples: Improve elements.c
52        #244 #264  Autotools: Add argument --enable-xml-attr-info
53        #239 #301  Autotools: Add arguments
54                     --with-getrandom
55                     --without-getrandom
56                     --with-sys-getrandom
57                     --without-sys-getrandom
58        #312 #343  Autotools: Fix linking issues with "./configure LD=clang"
59                   Autotools: Fix "make run-xmltest" for out-of-source builds
60        #329 #336  CMake: Pull all options from Expat <=2.2.7 into namespace
61                     prefix EXPAT_ with the exception of DOCBOOK_TO_MAN:
62                     - BUILD_doc            -> EXPAT_BUILD_DOCS (plural)
63                     - BUILD_examples       -> EXPAT_BUILD_EXAMPLES
64                     - BUILD_shared         -> EXPAT_SHARED_LIBS
65                     - BUILD_tests          -> EXPAT_BUILD_TESTS
66                     - BUILD_tools          -> EXPAT_BUILD_TOOLS
67                     - DOCBOOK_TO_MAN       -> DOCBOOK_TO_MAN (unchanged)
68                     - INSTALL              -> EXPAT_ENABLE_INSTALL
69                     - MSVC_USE_STATIC_CRT  -> EXPAT_MSVC_STATIC_CRT
70                     - USE_libbsd           -> EXPAT_WITH_LIBBSD
71                     - WARNINGS_AS_ERRORS   -> EXPAT_WARNINGS_AS_ERRORS
72                     - XML_CONTEXT_BYTES    -> EXPAT_CONTEXT_BYTES
73                     - XML_DEV_URANDOM      -> EXPAT_DEV_URANDOM
74                     - XML_DTD              -> EXPAT_DTD
75                     - XML_NS               -> EXPAT_NS
76                     - XML_UNICODE          -> EXPAT_CHAR_TYPE=ushort (!)
77                     - XML_UNICODE_WCHAR_T  -> EXPAT_CHAR_TYPE=wchar_t (!)
78        #244 #264  CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF),
79                     default OFF
80             #326  CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF),
81                     default OFF
82             #328  CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF),
83                     default OFF
84        #239 #277  CMake: Add arguments
85                     -DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
86                     -DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
87             #326  CMake: Install expat_config.h to include directory
88             #326  CMake: Generate and install configuration files for
89                     future find_package(expat [..] CONFIG [..])
90                   CMake: Now produces a summary of applied configuration
91                   CMake: Require C++ compiler only when tests are enabled
92             #330  CMake: Fix compilation for 16bit character types,
93                     i.e. ex -DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
94             #265  CMake: Fix linking with MinGW
95             #330  CMake: Add full support for MinGW; to enable, use
96                     -DCMAKE_TOOLCHAIN_FILE=[expat]/cmake/mingw-toolchain.cmake
97             #330  CMake: Port "make run-xmltest" from GNU Autotools to CMake
98             #316  CMake: Windows: Make binary postfix match MSVC
99                     Old: expat[d].lib
100                     New: expat[w][d][MD|MT].lib
101                   CMake: Migrate files from Windows to Unix line endings
102             #308  CMake: Integrate OSS-Fuzz fuzzers, option
103                     -DEXPAT_BUILD_FUZZERS=(ON|OFF), default OFF
104              #14  Drop an OpenVMS support leftover
105     #235 #268 ..
106     #270 #310 ..
107   #313 #331 #333  Address compiler warnings
108     #282 #283 ..
109        #284 #285  Address cppcheck warnings
110        #294 #295  Address Clang Static Analyzer warnings
111         #24 #293  Mass-apply clang-format 9 (and ensure conformance during CI)
112                   Version info bumped from 7:9:6 to 7:10:6
113
114         Special thanks to:
115             David Loffredo
116             Joonun Jang
117             Khajapasha Mohammed
118             Kishore Kunche
119             Marco Maggi
120             Mitch Phillips
121             Rolf Ade
122             xantares
123             Zhongyuan Zhou
124
125 Release 2.2.7 Wed June 19 2019
126         Security fixes:
127        #186 #262  CVE-2018-20843 -- Fix extraction of namespace prefixes from
128                     XML names; XML names with multiple colons could end up in
129                     the wrong namespace, and take a high amount of RAM and CPU
130                     resources while processing, opening the door to
131                     use for denial-of-service attacks
132
133         Other changes:
134        #195 #197  Autotools/CMake: Utilize -fvisibility=hidden to stop
135                     exporting non-API symbols
136             #227  Autotools: Add --without-examples and --without-tests
137             #228  Autotools: Modernize configure.ac
138        #245 #246  Autotools: Fix check for -fvisibility=hidden for Clang
139        #247 #248  Autotools: Fix compilation for lack of docbook2x-man
140        #236 #258  Autotools: Produce .tar.{gz,lz,xz} release archives
141             #212  CMake: Make libdir of pkgconfig expat.pc support multilib
142        #158 #263  CMake: Build man page in PROJECT_BINARY_DIR not _SOURCE_DIR
143             #219  Remove fallback to bcopy, assume that memmove(3) exists
144             #257  Use portable "/usr/bin/env bash" shebang (e.g. for OpenBSD)
145             #243  Windows: Fix syntax of .def module definition files
146                   Version info bumped from 7:8:6 to 7:9:6
147
148         Special thanks to:
149             Benjamin Peterson
150             Caolán McNamara
151             Hanno Böck
152             KangLin
153             Kishore Kunche
154             Marco Maggi
155             Rhodri James
156             Sebastian Dröge
157             userwithuid
158             Yury Gribov
159
160 Release 2.2.6 Sun August 12 2018
161         Bug fixes:
162        #170 #206  Avoid doing arithmetic with NULL pointers in XML_GetBuffer
163        #204 #205  Fix 2.2.5 regression with suspend-resume while parsing
164                     a document like '<root/>'
165
166         Other changes:
167        #165 #168  Autotools: Fix docbook-related configure syntax error
168             #166  Autotools: Avoid grep option `-q` for Solaris
169             #167  Autotools: Support
170                     ./configure DOCBOOK_TO_MAN="xmlto man --skip-validation"
171        #159 #167  Autotools: Support DOCBOOK_TO_MAN command which produces
172                     xmlwf.1 rather than XMLWF.1; also covers case insensitive
173                     file systems
174             #181  Autotools: Drop -rpath option passed to libtool
175             #188  Autotools: Detect and deny SGML docbook2man as ours is XML
176             #188  Autotools/CMake: Support command db2x_docbook2man as well
177             #174  CMake: Introduce option WARNINGS_AS_ERRORS, defaults to OFF
178        #184 #185  CMake: Introduce option MSVC_USE_STATIC_CRT, defaults to OFF
179        #207 #208  CMake: Introduce option XML_UNICODE and XML_UNICODE_WCHAR_T,
180                     both defaulting to OFF
181             #175  CMake: Prefer check_symbol_exists over check_function_exists
182             #176  CMake: Create the same pkg-config file as with GNU Autotools
183        #178 #179  CMake: Use GNUInstallDirs module to set proper defaults for
184                     install directories
185             #208  CMake: Utilize expat_config.h.cmake for XML_DEV_URANDOM
186             #180  Windows: Fix compilation of test suite for Visual Studio 2008
187   #131 #173 #202  Address compiler warnings
188   #187 #190 #200  Fix miscellaneous typos
189                   Version info bumped from 7:7:6 to 7:8:6
190
191         Special thanks to:
192             Anton Maklakov
193             Benjamin Peterson
194             Brad King
195             Franek Korta
196             Frank Rast
197             Joe Orton
198             luzpaz
199             Pedro Vicente
200             Rainer Jung
201             Rhodri James
202             Rolf Ade
203             Rolf Eike Beer
204             Thomas Beutlich
205             Tomasz Kłoczko
206
207 Release 2.2.5 Tue October 31 2017
208         Bug fixes:
209               #8  If the parser runs out of memory, make sure its internal
210                     state reflects the memory it actually has, not the memory
211                     it wanted to have.
212              #11  The default handler wasn't being called when it should for
213                     a SYSTEM or PUBLIC doctype if an entity declaration handler
214                     was registered.
215        #137 #138  Fix a case of mistakenly reported parsing success where
216                     XML_StopParser was called from an element handler
217             #162  Function XML_ErrorString was returning NULL rather than
218                     a message for code XML_ERROR_INVALID_ARGUMENT
219                     introduced with release 2.2.1
220
221         Other changes:
222             #106  xmlwf: Add argument -N adding notation declarations
223         #75 #106  Test suite: Resolve expected failure cases where xmlwf
224                     output was incomplete
225             #127  Windows: Fix test suite compilation
226        #126 #127  Windows: Fix compilation for Visual Studio 2012
227                   Windows: Upgrade shipped project files to Visual Studio 2017
228         #33 #132  tests: Mass-fix compilation for XML_UNICODE_WCHAR_T
229             #129  examples: Fix compilation for XML_UNICODE_WCHAR_T
230             #130  benchmark: Fix compilation for XML_UNICODE_WCHAR_T
231             #144  xmlwf: Fix compilation for XML_UNICODE_WCHAR_T; still needs
232                     Windows or MinGW for 2-byte wchar_t
233               #9  Address two Clang Static Analyzer false positives
234              #59  Resolve troublesome macros hiding parser struct membership
235                     and dereferencing that pointer
236               #6  Resolve superfluous internal malloc/realloc switch
237        #153 #155  Improve docbook2x-man detection
238             #160  Undefine NDEBUG in the test suite (rather than rejecting it)
239             #161  Address compiler warnings
240                   Version info bumped from 7:6:6 to 7:7:6
241
242         Special thanks to:
243             Benbuck Nason
244             Hans Wennborg
245             José Gutiérrez de la Concha
246             Pedro Monreal Gonzalez
247             Rhodri James
248             Rolf Ade
249             Stephen Groat
250                  and
251             Core Infrastructure Initiative
252
253 Release 2.2.4 Sat August 19 2017
254         Bug fixes:
255             #115  Fix copying of partial characters for UTF-8 input
256
257         Other changes:
258             #109  Fix "make check" for non-x86 architectures that default
259                     to unsigned type char (-128..127 rather than 0..255)
260             #109  coverage.sh: Cover -funsigned-char
261                   Autotools: Introduce --without-xmlwf argument
262              #65  Autotools: Replace handwritten Makefile with GNU Automake
263              #43  CMake: Auto-detect high quality entropy extractors, add new
264                     option USE_libbsd=ON to use arc4random_buf of libbsd
265              #74  CMake: Add -fno-strict-aliasing only where supported
266             #114  CMake: Always honor manually set BUILD_* options
267             #114  CMake: Compile man page if docbook2x-man is available, only
268             #117  Include file tests/xmltest.log.expected in source tarball
269                     (required for "make run-xmltest")
270             #117  Include (existing) Visual Studio 2013 files in source tarball
271                   Improve test suite error output
272             #111  Fix some typos in documentation
273                   Version info bumped from 7:5:6 to 7:6:6
274
275         Special thanks to:
276             Jakub Wilk
277             Joe Orton
278             Lin Tian
279             Rolf Eike Beer
280
281 Release 2.2.3 Wed August 2 2017
282         Security fixes:
283              #82  CVE-2017-11742 -- Windows: Fix DLL hijacking vulnerability
284                     using Steve Holme's LoadLibrary wrapper for/of cURL
285
286         Bug fixes:
287              #85  Fix a dangling pointer issue related to realloc
288
289         Other changes:
290                   Increase code coverage
291              #91  Linux: Allow getrandom to fail if nonblocking pool has not
292                     yet been initialized and read /dev/urandom then, instead.
293                     This is in line with what recent Python does.
294              #81  Pre-10.7/Lion macOS: Support entropy from arc4random
295              #86  Check that a UTF-16 encoding in an XML declaration has the
296                     right endianness
297         #4 #5 #7  Recover correctly when some reallocations fail
298                   Repair "./configure && make" for systems without any
299                     provider of high quality entropy
300                     and try reading /dev/urandom on those
301                   Ensure that user-defined character encodings have converter
302                     functions when they are needed
303                   Fix mis-leading description of argument -c in xmlwf.1
304                   Rely on macro HAVE_ARC4RANDOM_BUF (rather than __CloudABI__)
305                     for CloudABI
306             #100  Fix use of SIPHASH_MAIN in siphash.h
307              #23  Test suite: Fix memory leaks
308                   Version info bumped from 7:4:6 to 7:5:6
309
310         Special thanks to:
311             Chanho Park
312             Joe Orton
313             Pascal Cuoq
314             Rhodri James
315             Simon McVittie
316             Vadim Zeitlin
317             Viktor Szakats
318                  and
319             Core Infrastructure Initiative
320
321 Release 2.2.2 Wed July 12 2017
322         Security fixes:
323              #43  Protect against compilation without any source of high
324                     quality entropy enabled, e.g. with CMake build system;
325                     commit ff0207e6076e9828e536b8d9cd45c9c92069b895
326              #60  Windows with _UNICODE:
327                     Unintended use of LoadLibraryW with a non-wide string
328                     resulted in failure to load advapi32.dll and degradation
329                     in quality of used entropy when compiled with _UNICODE for
330                     Windows; you can launch existing binaries with
331                     EXPAT_ENTROPY_DEBUG=1 in the environment to inspect the
332                     quality of entropy used during runtime; commits
333                     * 95b95032f907ef1cd17ee7a9a1768010a825d61d
334                     * 73a5a2e9c081f49f2d775cf7ced864158b68dc80
335    [MOX-006]      Fix non-NULL parser parameter validation in XML_Parse;
336                     resulted in NULL dereference, previously;
337                     commit ac256dafdffc9622ab0dc2c62fcecb0dfcfa71fe
338
339         Bug fixes:
340              #69  Fix improper use of unsigned long long integer literals
341
342         Other changes:
343              #73  Start requiring a C99 compiler
344              #49  Fix "==" Bashism in configure script
345              #50  Fix too eager getrandom detection for Debian GNU/kFreeBSD
346              #52    and macOS
347              #51  Address lack of stdint.h in Visual Studio 2003 to 2008
348              #58  Address compile warnings
349              #68  Fix "./buildconf.sh && ./configure" for some versions
350                     of Dash for /bin/sh
351              #72  CMake: Ease use of Expat in context of a parent project
352                     with multiple CMakeLists.txt files
353              #72  CMake: Resolve mistaken executable permissions
354              #76  Address compile warning with -DNDEBUG (not recommended!)
355              #77  Address compile warning about macro redefinition
356
357         Special thanks to:
358             Alexander Bluhm
359             Ben Boeckel
360             Cătălin Răceanu
361             Kerin Millar
362             László Böszörményi
363             S. P. Zeidler
364             Segev Finer
365             Václav Slavík
366             Victor Stinner
367             Viktor Szakats
368                  and
369             Radically Open Security
370
371 Release 2.2.1 Sat June 17 2017
372         Security fixes:
373                   CVE-2017-9233 -- External entity infinite loop DoS
374                     Details: https://libexpat.github.io/doc/cve-2017-9233/
375                     Commit c4bf96bb51dd2a1b0e185374362ee136fe2c9d7f
376    [MOX-002]      CVE-2016-9063 -- Detect integer overflow; commit
377                     d4f735b88d9932bd5039df2335eefdd0723dbe20
378                     (Fixed version of existing downstream patches!)
379    (SF.net) #539  Fix regression from fix to CVE-2016-0718 cutting off
380                     longer tag names; commits
381                     * 896b6c1fd3b842f377d1b62135dccf0a579cf65d
382                     * af507cef2c93cb8d40062a0abe43a4f4e9158fb2
383              #16    * 0dbbf43fdb20f593ddf4fa1ff67288000dd4a7fd
384              #25  More integer overflow detection (function poolGrow); commits
385                     * 810b74e4703dcfdd8f404e3cb177d44684775143
386                     * 44178553f3539ce69d34abee77a05e879a7982ac
387    [MOX-002]      Detect overflow from len=INT_MAX call to XML_Parse; commits
388                     * 4be2cb5afcc018d996f34bbbce6374b7befad47f
389                     * 7e5b71b748491b6e459e5c9a1d090820f94544d8
390    [MOX-005] #30  Use high quality entropy for hash initialization:
391                     * arc4random_buf on BSD, systems with libbsd
392                       (when configured with --with-libbsd), CloudABI
393                     * RtlGenRandom on Windows XP / Server 2003 and later
394                     * getrandom on Linux 3.17+
395                     In a way, that's still part of CVE-2016-5300.
396                     https://github.com/libexpat/libexpat/pull/30/commits
397    [MOX-005]      For the low quality entropy extraction fallback code,
398                     the parser instance address can no longer leak, commit
399                     04ad658bd3079dd15cb60fc67087900f0ff4b083
400    [MOX-003]      Prevent use of uninitialised variable; commit
401    [MOX-004]        a4dc944f37b664a3ca7199c624a98ee37babdb4b
402                   Add missing parameter validation to public API functions
403                     and dedicated error code XML_ERROR_INVALID_ARGUMENT:
404    [MOX-006]        * NULL checks; commits
405                       * d37f74b2b7149a3a95a680c4c4cd2a451a51d60a (merge/many)
406                       * 9ed727064b675b7180c98cb3d4f75efba6966681
407                       * 6a747c837c50114dfa413994e07c0ba477be4534
408                     * Negative length (XML_Parse); commit
409    [MOX-002]          70db8d2538a10f4c022655d6895e4c3e78692e7f
410    [MOX-001] #35  Change hash algorithm to William Ahern's version of SipHash
411                     to go further with fixing CVE-2012-0876.
412                     https://github.com/libexpat/libexpat/pull/39/commits
413
414         Bug fixes:
415              #32  Fix sharing of hash salt across parsers;
416                     relevant where XML_ExternalEntityParserCreate is called
417                     prior to XML_Parse, in particular (e.g. FBReader)
418              #28  xmlwf: Auto-disable use of memory-mapping (and parsing
419                     as a single chunk) for files larger than ~1 GB (2^30 bytes)
420                     rather than failing with error "out of memory"
421               #3  Fix double free after malloc failure in DTD code; commit
422                     7ae9c3d3af433cd4defe95234eae7dc8ed15637f
423              #17  Fix memory leak on parser error for unbound XML attribute
424                     prefix with new namespaces defined in the same tag;
425                     found by Google's OSS-Fuzz; commits
426                     * 16f87daae5a16132e479e4f71862128c7a915c73
427                     * b47dbc9745932c160893d433220e462bd605f8cd
428                   xmlwf on Windows: Add missing calls to CloseHandle
429
430         New features:
431              #30  Introduced environment switch EXPAT_ENTROPY_DEBUG=1
432                     for runtime debugging of entropy extraction
433
434         Other changes:
435                   Increase code coverage
436              #33  Reject use of XML_UNICODE_WCHAR_T with sizeof(wchar_t) != 2;
437                     XML_UNICODE_WCHAR_T was never meant to be used outside
438                     of Windows; 4-byte wchar_t is common on Linux
439    (SF.net) #538  Start using -fno-strict-aliasing
440    (SF.net) #540  Support compilation against cloudlibc of CloudABI
441                   Allow MinGW cross-compilation
442    (SF.net) #534  CMake: Introduce option "BUILD_doc" (enabled by default)
443                     to bypass compilation of the xmlwf.1 man page
444    (SF.net)  pr2  CMake: Introduce option "INSTALL" (enabled by default)
445                     to bypass installation of expat files
446                   CMake: Fix ninja support
447                   Autotools: Add parameters --enable-xml-context [COUNT]
448                     and --disable-xml-context; default of context of 1024
449                     bytes enabled unchanged
450              #14  Drop AmigaOS 4.x code and includes
451              #14  Drop ancient build systems:
452                     * Borland C++ Builder
453                     * OpenVMS
454                     * Open Watcom
455                     * Visual Studio 6.0
456                     * Pre-X Mac OS (MPW Makefile)
457                     If you happen to rely on some of these, please get in
458                     touch for joining with maintenance.
459              #10  Move from WIN32 to _WIN32
460              #13  Fix "make run-xmltest" order instability
461                   Address compile warnings
462                   Bump version info from 7:2:6 to 7:3:6
463                   Add AUTHORS file
464
465         Infrastructure:
466               #1  Migrate from SourceForge to GitHub (except downloads):
467                     https://github.com/libexpat/
468               #1  Re-create http://libexpat.org/ project website
469                   Start utilizing Travis CI
470
471         Special thanks to:
472             Andy Wang
473             Don Lewis
474             Ed Schouten
475             Karl Waclawek
476             Pascal Cuoq
477             Rhodri James
478             Sergei Nikulov
479             Tobias Taschner
480             Viktor Szakats
481                  and
482             Core Infrastructure Initiative
483             Mozilla Foundation (MOSS Track 3: Secure Open Source)
484             Radically Open Security
485
486 Release 2.2.0 Tue June 21 2016
487         Security fixes:
488             #537  CVE-2016-0718 -- Fix crash on malformed input
489                   CVE-2016-4472 -- Improve insufficient fix to CVE-2015-1283 /
490                                    CVE-2015-2716 introduced with Expat 2.1.1
491             #499  CVE-2016-5300 -- Use more entropy for hash initialization
492                                    than the original fix to CVE-2012-0876
493             #519  CVE-2012-6702 -- Resolve troublesome internal call to srand
494                                    that was introduced with Expat 2.1.0
495                                    when addressing CVE-2012-0876 (issue #496)
496
497         Bug fixes:
498                   Fix uninitialized reads of size 1
499                     (e.g. in little2_updatePosition)
500                   Fix detection of UTF-8 character boundaries
501
502         Other changes:
503             #532  Fix compilation for Visual Studio 2010 (keyword "C99")
504                   Autotools: Resolve use of "$<" to better support bmake
505                   Autotools: Add QA script "qa.sh" (and make target "qa")
506                   Autotools: Respect CXXFLAGS if given
507                   Autotools: Fix "make run-xmltest"
508                   Autotools: Have "make run-xmltest" check for expected output
509              p90  CMake: Fix static build (BUILD_shared=OFF) on Windows
510             #536  CMake: Add soversion, support -DNO_SONAME=yes to bypass
511             #323  CMake: Add suffix "d" to differentiate debug from release
512                   CMake: Define WIN32 with CMake on Windows
513                   Annotate memory allocators for GCC
514                   Address all currently known compile warnings
515                   Make sure that API symbols remain visible despite
516                     -fvisibility=hidden
517                   Remove executable flag from source files
518                   Resolve COMPILED_FROM_DSP in favor of WIN32
519
520         Special thanks to:
521             Björn Lindahl
522             Christian Heimes
523             Cristian Rodríguez
524             Daniel Krügler
525             Gustavo Grieco
526             Karl Waclawek
527             László Böszörményi
528             Marco Grassi
529             Pascal Cuoq
530             Sergei Nikulov
531             Thomas Beutlich
532             Warren Young
533             Yann Droneaud
534
535 Release 2.1.1 Sat March 12 2016
536         Security fixes:
537             #582: CVE-2015-1283 - Multiple integer overflows in XML_GetBuffer
538
539         Bug fixes:
540             #502: Fix potential null pointer dereference
541             #520: Symbol XML_SetHashSalt was not exported
542             Output of "xmlwf -h" was incomplete
543
544         Other changes:
545             #503: Document behavior of calling XML_SetHashSalt with salt 0
546             Minor improvements to man page xmlwf(1)
547             Improvements to the experimental CMake build system
548             libtool now invoked with --verbose
549
550 Release 2.1.0 Sat March 24 2012
551         - Security fixes:
552           #2958794: CVE-2012-1148 - Memory leak in poolGrow.
553           #2895533: CVE-2012-1147 - Resource leak in readfilemap.c.
554           #3496608: CVE-2012-0876 - Hash DOS attack.
555           #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8().
556           #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences.
557         - Bug Fixes:
558           #1742315: Harmful XML_ParserCreateNS suggestion.
559           #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3.
560           #1983953, 2517952, 2517962, 2649838: 
561                 Build modifications using autoreconf instead of buildconf.sh.
562           #2815947, #2884086: OBJEXT and EXEEXT support while building.
563           #2517938: xmlwf should return non-zero exit status if not well-formed.
564           #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml.
565           #2855609: Dangling positionPtr after error.
566           #2990652: CMake support.
567           #3010819: UNEXPECTED_STATE with a trailing "%" in entity value.
568           #3206497: Uninitialized memory returned from XML_Parse.
569           #3287849: make check fails on mingw-w64.
570         - Patches:
571           #1749198: pkg-config support.
572           #3010222: Fix for bug #3010819.
573           #3312568: CMake support.
574           #3446384: Report byte offsets for attr names and values.
575         - New Features / API changes:
576           Added new API member XML_SetHashSalt() that allows setting an initial
577                 value (salt) for hash calculations. This is part of the fix for
578                 bug #3496608 to randomize hash parameters.
579           When compiled with XML_ATTR_INFO defined, adds new API member
580                 XML_GetAttributeInfo() that allows retrieving the byte
581                 offsets for attribute names and values (patch #3446384).
582           Added CMake build system.
583                 See bug #2990652 and patch #3312568.
584           Added run-benchmark target to Makefile.in - relies on testdata module
585                 present in the same relative location as in the repository.
586           
587 Release 2.0.1 Tue June 5 2007
588         - Fixed bugs #1515266, #1515600: The character data handler's calling
589           of XML_StopParser() was not handled properly; if the parser was
590           stopped and the handler set to NULL, the parser would segfault.
591         - Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed
592           some character constants to be ASCII encoded.
593         - Minor cleanups of the test harness.
594         - Fixed xmlwf bug #1513566: "out of memory" error on file size zero.
595         - Fixed outline.c bug #1543233: missing a final XML_ParserFree() call.
596         - Fixes and improvements for Windows platform:
597           bugs #1409451, #1476160, #1548182, #1602769, #1717322.
598         - Build fixes for various platforms:
599           HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180.
600           All Unix: #1554618 (refreshed config.sub/config.guess).
601                     #1490371, #1613457: support both, DESTDIR and INSTALL_ROOT,
602                     without relying on GNU-Make specific features.
603           #1647805: Patched configure.in to work better with Intel compiler.
604         - Fixes to Makefile.in to have make check work correctly:
605           bugs #1408143, #1535603, #1536684.
606         - Added Open Watcom support: patch #1523242.
607
608 Release 2.0.0 Wed Jan 11 2006
609         - We no longer use the "check" library for C unit testing; we
610           always use the (partial) internal implementation of the API.
611         - Report XML_NS setting via XML_GetFeatureList().
612         - Fixed headers for use from C++.
613         - XML_GetCurrentLineNumber() and  XML_GetCurrentColumnNumber()
614           now return unsigned integers.
615         - Added XML_LARGE_SIZE switch to enable 64-bit integers for
616           byte indexes and line/column numbers.
617         - Updated to use libtool 1.5.22 (the most recent).
618         - Added support for AmigaOS.
619         - Some mostly minor bug fixes. SF issues include: #1006708,
620           #1021776, #1023646, #1114960, #1156398, #1221160, #1271642.
621
622 Release 1.95.8 Fri Jul 23 2004
623         - Major new feature: suspend/resume.  Handlers can now request
624           that a parse be suspended for later resumption or aborted
625           altogether.  See "Temporarily Stopping Parsing" in the
626           documentation for more details.
627         - Some mostly minor bug fixes, but compilation should no
628           longer generate warnings on most platforms.  SF issues
629           include: #827319, #840173, #846309, #888329, #896188, #923913,
630           #928113, #961698, #985192.
631
632 Release 1.95.7 Mon Oct 20 2003
633         - Fixed enum XML_Status issue (reported on SourceForge many
634           times), so compilers that are properly picky will be happy.
635         - Introduced an XMLCALL macro to control the calling
636           convention used by the Expat API; this macro should be used
637           to annotate prototypes and definitions of callback
638           implementations in code compiled with a calling convention
639           other than the default convention for the host platform.
640         - Improved ability to build without the configure-generated
641           expat_config.h header.  This is useful for applications
642           which embed Expat rather than linking in the library.
643         - Fixed a variety of bugs: see SF issues #458907, #609603,
644           #676844, #679754, #692878, #692964, #695401, #699323, #699487,
645           #820946.
646         - Improved hash table lookups.
647         - Added more regression tests and improved documentation.
648
649 Release 1.95.6 Tue Jan 28 2003
650         - Added XML_FreeContentModel().
651         - Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree().
652         - Fixed a variety of bugs: see SF issues #615606, #616863,
653           #618199, #653180, #673791.
654         - Enhanced the regression test suite.
655         - Man page improvements: includes SF issue #632146.
656
657 Release 1.95.5 Fri Sep 6 2002
658         - Added XML_UseForeignDTD() for improved SAX2 support.
659         - Added XML_GetFeatureList().
660         - Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
661         - Use an incomplete struct instead of a void* for the parser
662           (may not retain).
663         - Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
664         - Finally fixed bug where default handler would report DTD
665           events that were already handled by another handler.
666           Initial patch contributed by Darryl Miles.
667         - Removed unnecessary DllMain() function that caused static
668           linking into a DLL to be difficult.
669         - Added VC++ projects for building static libraries.
670         - Reduced line-length for all source code and headers to be
671           no longer than 80 characters, to help with AS/400 support.
672         - Reduced memory copying during parsing (SF patch #600964).
673         - Fixed a variety of bugs: see SF issues #580793, #434664,
674           #483514, #580503, #581069, #584041, #584183, #584832, #585537,
675           #596555, #596678, #598352, #598944, #599715, #600479, #600971.
676
677 Release 1.95.4 Fri Jul 12 2002
678         - Added support for VMS, contributed by Craig Berry.  See
679           vms/README.vms for more information.
680         - Added Mac OS (classic) support, with a makefile for MPW,
681           contributed by Thomas Wegner and Daryle Walker.
682         - Added Borland C++ Builder 5 / BCC 5.5 support, contributed
683           by Patrick McConnell (SF patch #538032).
684         - Fixed a variety of bugs: see SF issues #441449, #563184,
685           #564342, #566334, #566901, #569461, #570263, #575168, #579196.
686         - Made skippedEntityHandler conform to SAX2 (see source comment)
687         - Re-implemented WFC: Entity Declared from XML 1.0 spec and
688           added a new error "entity declared in parameter entity":
689           see SF bug report #569461 and SF patch #578161
690         - Re-implemented section 5.1 from XML 1.0 spec:
691           see SF bug report #570263 and SF patch #578161
692
693 Release 1.95.3 Mon Jun 3 2002
694         - Added a project to the MSVC workspace to create a wchar_t
695           version of the library; the DLLs are named libexpatw.dll.
696         - Changed the name of the Windows DLLs from expat.dll to
697           libexpat.dll; this fixes SF bug #432456.
698         - Added the XML_ParserReset() API function.
699         - Fixed XML_SetReturnNSTriplet() to work for element names.
700         - Made the XML_UNICODE builds usable (thanks, Karl!).
701         - Allow xmlwf to read from standard input.
702         - Install a man page for xmlwf on Unix systems.
703         - Fixed many bugs; see SF bug reports #231864, #461380, #464837,
704           #466885, #469226, #477667, #484419, #487840, #494749, #496505,
705           #547350.  Other bugs which we can't test as easily may also
706           have been fixed, especially in the area of build support.
707
708 Release 1.95.2 Fri Jul 27 2001
709         - More changes to make MSVC happy with the build; add a single
710           workspace to support both the library and xmlwf application.
711         - Added a Windows installer for Windows users; includes
712           xmlwf.exe.
713         - Added compile-time constants that can be used to determine the
714           Expat version
715         - Removed a lot of GNU-specific dependencies to aide portability
716           among the various Unix flavors.
717         - Fix the UTF-8 BOM bug.
718         - Cleaned up warning messages for several compilers.
719         - Added the -Wall, -Wstrict-prototypes options for GCC.
720
721 Release 1.95.1 Sun Oct 22 15:11:36 EDT 2000
722         - Changes to get expat to build under Microsoft compiler
723         - Removed all aborts and instead return an UNEXPECTED_STATE error.
724         - Fixed a bug where a stray '%' in an entity value would cause an
725           abort.
726         - Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for
727           finding this oversight.
728         - Changed default patterns in lib/Makefile.in to fit non-GNU makes
729           Thanks to robin@unrated.net for reporting and providing an
730           account to test on.
731         - The reference had the wrong label for XML_SetStartNamespaceDecl.
732           Reported by an anonymous user.
733
734 Release 1.95.0 Fri Sep 29 2000
735         - XML_ParserCreate_MM
736                 Allows you to set a memory management suite to replace the
737                 standard malloc,realloc, and free.
738         - XML_SetReturnNSTriplet
739                 If you turn this feature on when namespace processing is in
740                 effect, then qualified, prefixed element and attribute names
741                 are returned as "uri|name|prefix" where '|' is whatever
742                 separator character is used in namespace processing.
743         - Merged in features from perl-expat
744                 o XML_SetElementDeclHandler
745                 o XML_SetAttlistDeclHandler
746                 o XML_SetXmlDeclHandler
747                 o XML_SetEntityDeclHandler
748                 o StartDoctypeDeclHandler takes 3 additional parameters:
749                         sysid, pubid, has_internal_subset
750                 o Many paired handler setters (like XML_SetElementHandler)
751                   now have corresponding individual handler setters
752                 o XML_GetInputContext for getting the input context of
753                   the current parse position.
754         - Added reference material
755         - Packaged into a distribution that builds a sharable library