123d8dfc18
Fixes CVE-2012-1147, CVE-2012-1148 and CVE-2012-0876 (other security issues have been previously fixed in our tree) relevant Changes: Release 2.1.0 Sat March 24 2012 - Bug Fixes: #1742315: Harmful XML_ParserCreateNS suggestion. #2895533: CVE-2012-1147 - Resource leak in readfilemap.c. #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3. #1983953, 2517952, 2517962, 2649838: Build modifications using autoreconf instead of buildconf.sh. #2815947, #2884086: OBJEXT and EXEEXT support while building. #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences. #2517938: xmlwf should return non-zero exit status if not well-formed. #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml. #2855609: Dangling positionPtr after error. #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8(). #2958794: CVE-2012-1148 - Memory leak in poolGrow. #2990652: CMake support. #3010819: UNEXPECTED_STATE with a trailing "%" in entity value. #3206497: Unitialized memory returned from XML_Parse. #3287849: make check fails on mingw-w64. #3496608: CVE-2012-0876 - Hash DOS attack. - Patches: #1749198: pkg-config support. #3010222: Fix for bug #3010819. #3312568: CMake support. #3446384: Report byte offsets for attr names and values. - New Features / API changes: Added new API member XML_SetHashSalt() that allows setting an intial value (salt) for hash calculations. This is part of the fix for bug #3496608 to randomize hash parameters. When compiled with XML_ATTR_INFO defined, adds new API member XML_GetAttributeInfo() that allows retrieving the byte offsets for attribute names and values (patch #3446384). Added CMake build system. See bug #2990652 and patch #3312568. Added run-benchmark target to Makefile.in - relies on testdata module present in the same relative location as in the repository.
92 lines
2.7 KiB
CMake
92 lines
2.7 KiB
CMake
/* expat_config.h.in. Generated from configure.in by autoheader. */
|
|
|
|
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
|
|
#cmakedefine BYTEORDER @BYTEORDER@
|
|
|
|
/* Define to 1 if you have the `bcopy' function. */
|
|
#cmakedefine HAVE_BCOPY
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#cmakedefine HAVE_DLFCN_H
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#cmakedefine HAVE_FCNTL_H
|
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
#cmakedefine HAVE_GETPAGESIZE
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#cmakedefine HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
#cmakedefine HAVE_MEMMOVE
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#cmakedefine HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
#cmakedefine HAVE_MMAP
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#cmakedefine HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#cmakedefine HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#cmakedefine HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#cmakedefine HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#cmakedefine HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#cmakedefine HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#cmakedefine HAVE_UNISTD_H
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#cmakedefine PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#cmakedefine PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#cmakedefine PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#cmakedefine PACKAGE_TARNAME
|
|
|
|
/* Define to the version of this package. */
|
|
#cmakedefine PACKAGE_VERSION
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#cmakedefine STDC_HEADERS
|
|
|
|
/* whether byteorder is bigendian */
|
|
#cmakedefine WORDS_BIGENDIAN
|
|
|
|
/* Define to specify how much context to retain around the current parse
|
|
point. */
|
|
#cmakedefine XML_CONTEXT_BYTES @XML_CONTEXT_BYTES@
|
|
|
|
/* Define to make parameter entity parsing functionality available. */
|
|
#cmakedefine XML_DTD
|
|
|
|
/* Define to make XML Namespaces functionality available. */
|
|
#cmakedefine XML_NS
|
|
|
|
/* Define to __FUNCTION__ or "" if `__func__' does not conform to ANSI C. */
|
|
#ifdef _MSC_VER
|
|
# define __func__ __FUNCTION__
|
|
#endif
|
|
|
|
/* Define to `long' if <sys/types.h> does not define. */
|
|
#cmakedefine off_t @OFF_T@
|
|
|
|
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
#cmakedefine size_t @SIZE_T@
|