]>
granicus.if.org Git - libexpat/log
Rolf Eike Beer [Wed, 2 Aug 2017 12:09:19 +0000 (14:09 +0200)]
CMake: detect the presence of entropy functions
Rolf Eike Beer [Wed, 2 Aug 2017 11:13:53 +0000 (13:13 +0200)]
CMake: set -fno-strict-aliasing only if the compiler supports it
Sebastian Pipping [Fri, 4 Aug 2017 19:31:50 +0000 (21:31 +0200)]
Merge branch 'jwilk-forks-spelling' (pull request #111)
Sebastian Pipping [Fri, 4 Aug 2017 19:31:12 +0000 (21:31 +0200)]
Changes: Document #111
Jakub Wilk [Thu, 3 Aug 2017 20:50:03 +0000 (22:50 +0200)]
Fix typos
Sebastian Pipping [Thu, 3 Aug 2017 19:35:24 +0000 (21:35 +0200)]
Merge branch 'unsigned-char' (pull request #109)
Sebastian Pipping [Thu, 3 Aug 2017 19:32:28 +0000 (21:32 +0200)]
Changes: Document changes related to #109
Joe Orton [Thu, 3 Aug 2017 08:42:41 +0000 (09:42 +0100)]
Fix tests for both x86 and non-x86. (#109)
Sebastian Pipping [Thu, 3 Aug 2017 19:23:59 +0000 (21:23 +0200)]
tests/minicheck.c: Improve error message display
Sebastian Pipping [Thu, 3 Aug 2017 19:11:37 +0000 (21:11 +0200)]
coverage.sh: Cover -funsigned-char for #109
Sebastian Pipping [Wed, 2 Aug 2017 13:16:36 +0000 (15:16 +0200)]
Prepare release version 2.2.3
Sebastian Pipping [Wed, 2 Aug 2017 13:18:17 +0000 (15:18 +0200)]
Bump version info bumped from 7:4:6 to 7:5:6
Sebastian Pipping [Wed, 2 Aug 2017 13:33:00 +0000 (15:33 +0200)]
runtests.c: Catch some failure to bump XML_*_VERSION
Sebastian Pipping [Wed, 2 Aug 2017 12:54:00 +0000 (14:54 +0200)]
Changes: Document issues #4 #5 #7 #86
.. and extend credits
Sebastian Pipping [Wed, 2 Aug 2017 11:38:41 +0000 (13:38 +0200)]
Changes: Document check for convert function
Related commit:
fc06a529a3283c9b0ec5e253e98f4c23d3b9caa8
Sebastian Pipping [Wed, 2 Aug 2017 11:34:46 +0000 (13:34 +0200)]
loadlibrary.c: Address -Wempty-translation-unit
Sebastian Pipping [Wed, 2 Aug 2017 10:00:50 +0000 (12:00 +0200)]
Merge branch 'notroj-master' (pull request #104)
Joe Orton [Wed, 2 Aug 2017 07:49:20 +0000 (08:49 +0100)]
Expand buffer size to avoid GCC 7.x warning.
Sebastian Pipping [Mon, 31 Jul 2017 20:19:57 +0000 (22:19 +0200)]
doc/xmlwf.xml: Fix mis-leading description of -c
Sebastian Pipping [Sun, 30 Jul 2017 13:53:42 +0000 (15:53 +0200)]
Changes: Mention CVE-2017-11742
Sebastian Pipping [Sat, 29 Jul 2017 21:23:11 +0000 (23:23 +0200)]
Changes: Re-order/classify items for in-the-making release
Sebastian Pipping [Sat, 29 Jul 2017 19:29:14 +0000 (21:29 +0200)]
Never require XML_POOR_ENTROPY for "./configure && make"
.. as XML_POOR_ENTROPY was intended to catch _accidental_
compilation with no provider of high quality entropy
enabled for _non-Autoconf_ build systems from the start.
Sebastian Pipping [Sat, 29 Jul 2017 14:27:36 +0000 (16:27 +0200)]
README.md: Make link to COPYING work for the front page.
Sebastian Pipping [Sat, 29 Jul 2017 14:25:10 +0000 (16:25 +0200)]
Merge branch 'readme-markdown'
Sebastian Pipping [Sat, 29 Jul 2017 14:23:46 +0000 (16:23 +0200)]
README.md: Add note on limitation of -fshort-wchar
Sebastian Pipping [Sat, 29 Jul 2017 14:13:36 +0000 (16:13 +0200)]
README.md: Add links
Sebastian Pipping [Sat, 29 Jul 2017 14:13:13 +0000 (16:13 +0200)]
README.md: Reflect present
Sebastian Pipping [Sat, 29 Jul 2017 14:03:26 +0000 (16:03 +0200)]
README.md: Fix reference to Makefile
Sebastian Pipping [Sat, 29 Jul 2017 13:45:53 +0000 (15:45 +0200)]
Migrate README to Markdown
Sebastian Pipping [Sat, 29 Jul 2017 13:26:10 +0000 (15:26 +0200)]
Merge branch 'windows-curl-load-library' (pull request #101)
Sebastian Pipping [Sat, 29 Jul 2017 13:17:10 +0000 (15:17 +0200)]
Merge branch 'nonblock-fail-getrandom' (pull request #92)
Rhodri James [Fri, 28 Jul 2017 13:29:02 +0000 (14:29 +0100)]
runtests.c: Turn #defines into consts (#103)
The loop limit of the various test_alloc_* and test_nsalloc_*
functions were given as #defined constanst. These have been turned
into const constants to give the compiler a better chance with them.
Sebastian Pipping [Thu, 27 Jul 2017 17:55:14 +0000 (19:55 +0200)]
Merge branch 'coverage-no-context' (pull request #102)
Rhodri James [Thu, 27 Jul 2017 14:02:31 +0000 (15:02 +0100)]
Use named constant for magic number in external_entity_dbl_handler
Rhodri James [Thu, 27 Jul 2017 13:48:41 +0000 (14:48 +0100)]
Use named constant for magic number in external_entity_duff_loader
Rhodri James [Thu, 27 Jul 2017 13:46:41 +0000 (14:46 +0100)]
Use named constant for magic number in test_..._parser_with_encoding()
Rhodri James [Thu, 27 Jul 2017 13:45:42 +0000 (14:45 +0100)]
Use named constant for magic number in test_misc_alloc_create_parser()
Rhodri James [Thu, 27 Jul 2017 13:39:32 +0000 (14:39 +0100)]
Make test_alloc_long_notation() robust vs allocation pattern changes.
Rhodri James [Thu, 27 Jul 2017 13:30:52 +0000 (14:30 +0100)]
Make test_alloc_long_entity_value() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:29:44 +0000 (14:29 +0100)]
Make test_alloc_long_public_id() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 13:28:31 +0000 (14:28 +0100)]
Make test_alloc_long_base() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 13:25:27 +0000 (14:25 +0100)]
Make test_alloc_long_doc_name() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 13:24:28 +0000 (14:24 +0100)]
Make test_alloc_realloc_attributes() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:23:43 +0000 (14:23 +0100)]
Make test_alloc_realloc_ce_extends_pe() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:21:58 +0000 (14:21 +0100)]
Make test_alloc_realloc_param_entity_newline() robust vs allocations
Rhodri James [Thu, 27 Jul 2017 13:18:40 +0000 (14:18 +0100)]
Make test_alloc_long_attr_value() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:17:20 +0000 (14:17 +0100)]
Make test_alloc_long_attr_default_with_char_ref() robust vs allocs
Rhodri James [Thu, 27 Jul 2017 13:15:16 +0000 (14:15 +0100)]
Make test_alloc_attribute_predefined_entity() robust vs allocation
Rhodri James [Thu, 27 Jul 2017 13:12:48 +0000 (14:12 +0100)]
Make test_alloc_attribute_whitespace() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:09:07 +0000 (14:09 +0100)]
Make test_alloc_realloc_long_attribute_value() robust vs allocations
Rhodri James [Thu, 27 Jul 2017 13:08:06 +0000 (14:08 +0100)]
Make test_alloc_comment_in_epilog() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:06:41 +0000 (14:06 +0100)]
Make test_alloc_pi_in_epilog() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 13:02:49 +0000 (14:02 +0100)]
Make test_alloc_realloc_group_choice() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 13:02:03 +0000 (14:02 +0100)]
Make test_alloc_large_group() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 12:56:43 +0000 (13:56 +0100)]
Make test_alloc_realloc_nested_groups() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 12:55:43 +0000 (13:55 +0100)]
make test_alloc_nested_groups() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 12:50:19 +0000 (13:50 +0100)]
Make test_alloc_system_notation() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 12:49:22 +0000 (13:49 +0100)]
Make test_alloc_public_notation() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 12:48:08 +0000 (13:48 +0100)]
Make test_alloc_notation() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 12:47:08 +0000 (13:47 +0100)]
Make test_alloc_realloc_default_attribute() robust vs allocation
Rhodri James [Thu, 27 Jul 2017 12:45:47 +0000 (13:45 +0100)]
Make test_alloc_realloc_implied_attribute() vs allocation changes
Rhodri James [Thu, 27 Jul 2017 12:44:34 +0000 (13:44 +0100)]
Make test_alloc_realloc_attribute_enum_value() robust vs allocations
Rhodri James [Thu, 27 Jul 2017 12:41:02 +0000 (13:41 +0100)]
Make test_alloc_attribute_enum_value() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 12:39:48 +0000 (13:39 +0100)]
Make test_alloc_set_foreign_dtd() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 12:37:48 +0000 (13:37 +0100)]
Make test_alloc_parse_public_doctype_long_name() robust vs allocation
Rhodri James [Thu, 27 Jul 2017 12:35:48 +0000 (13:35 +0100)]
Make test_alloc_parse_public_doctype() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 12:30:42 +0000 (13:30 +0100)]
Make test_alloc_realloc_subst_public_entity_value() robust vs allocation
Rhodri James [Thu, 27 Jul 2017 12:29:26 +0000 (13:29 +0100)]
Make test_alloc_public_entity_value() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 12:21:56 +0000 (13:21 +0100)]
Make test_alloc_realloc_many_attributes() robust vs allocations
Rhodri James [Thu, 27 Jul 2017 12:20:42 +0000 (13:20 +0100)]
Make test_alloc_ext_entity_realloc_buffer() robust vs allocations
Rhodri James [Thu, 27 Jul 2017 12:16:13 +0000 (13:16 +0100)]
Make test_alloc_realloc_buffer() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 12:11:48 +0000 (13:11 +0100)]
Use named constant for magic number in test_alloc_set_base()
Rhodri James [Thu, 27 Jul 2017 12:09:54 +0000 (13:09 +0100)]
Use named constant for magic number in test_alloc_explicit_encoding()
Rhodri James [Thu, 27 Jul 2017 12:04:58 +0000 (13:04 +0100)]
Make test_alloc_dtd_default_handling() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 11:38:47 +0000 (12:38 +0100)]
Make test_alloc_internal_entity() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 11:35:21 +0000 (12:35 +0100)]
test_alloc_ext_entity_set_encoding() robust vs allocation changes
Rhodri James [Thu, 27 Jul 2017 11:27:32 +0000 (12:27 +0100)]
Make test_alloc_external_entity() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 11:21:53 +0000 (12:21 +0100)]
Refactor test_alloc_run_external_parser()
Rhodri James [Thu, 27 Jul 2017 11:18:47 +0000 (12:18 +0100)]
Make test_alloc_parse_comment_2() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 11:17:15 +0000 (12:17 +0100)]
Make test_alloc_parse_comment() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 11:14:22 +0000 (12:14 +0100)]
Make test_alloc_parse_pi_3 robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 11:10:00 +0000 (12:10 +0100)]
Make test_alloc_parse_pi_2() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 11:05:58 +0000 (12:05 +0100)]
Make test_alloc_parse_pi() robust vs allocation pattern changes
Rhodri James [Thu, 27 Jul 2017 10:50:15 +0000 (11:50 +0100)]
Remove memory leak in external_entity_optioner()
Sebastian Pipping [Thu, 20 Jul 2017 19:56:23 +0000 (21:56 +0200)]
Changes: Document changes to call of getrandom
Sebastian Pipping [Wed, 26 Jul 2017 18:40:55 +0000 (20:40 +0200)]
xmlparse.c: Read /dev/urandom if non-blocking getrandom failed
This is in line with what recent Python does:
1) Calling getrandom with GRND_NONBLOCK
https://github.com/python/cpython/blob/
1abcf6700b4da6207fe859de40c6c1bada6b4fec /Python/bootstrap_hash.c#L594
2) Reading /dev/urandom if getrandom failed
https://github.com/python/cpython/blob/
1abcf6700b4da6207fe859de40c6c1bada6b4fec /Python/bootstrap_hash.c#L503
Sebastian Pipping [Thu, 20 Jul 2017 19:51:44 +0000 (21:51 +0200)]
xmlparse.c: Rename writeRandomBytes_getrandom to ..._nonblock
.. to better communicate the nature of that function
Chanho Park [Thu, 20 Jul 2017 10:20:09 +0000 (19:20 +0900)]
Use GRND_NONBLOCK of getrandom call
Since the getrandom syscall patch(
f356fb56fb9e Detect and support
syscall(SYS_getrandom, [..]) as well), some arm machine stuck during
systemd boot because the dbus uses the expat library and it hangs
inside the writeRandomBytes_getrandom function. Without the
GRND_NONBLOCK flag, the kernel will wait until the nonblocking_pool has
been initialized(See the getrandom syscall of the
linux/drivers/char/random.c). To prevent the blocking, we can add the
GRND_NONBLOCK flag and omit the comparison of the EAGAIN return.
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Rhodri James [Wed, 26 Jul 2017 17:41:22 +0000 (18:41 +0100)]
Make test_alloc_parse_xdecl_2() robust vs allocation pattern changes
Rhodri James [Wed, 26 Jul 2017 17:29:06 +0000 (18:29 +0100)]
Make test_alloc_parse_xdecl() robust vs allocation pattern changes
Rhodri James [Wed, 26 Jul 2017 17:20:58 +0000 (18:20 +0100)]
Make test_nsalloc_prefixed_element() robust vs allocation changes
Rhodri James [Wed, 26 Jul 2017 17:18:46 +0000 (18:18 +0100)]
Make test_nsalloc_long_systemid_in_ext() robust
Makes test more predictable in the face of changing memory
allocation patterns in the library.
Rhodri James [Wed, 26 Jul 2017 17:17:02 +0000 (18:17 +0100)]
Make test_nsalloc_long_default_in_ext() robust.
Makes test more predictable in the face of changes to the memory
allocation patterns in the library.
Rhodri James [Wed, 26 Jul 2017 17:14:46 +0000 (18:14 +0100)]
Make test_nsalloc_realloc_long_context_in_dtd() robust.
Makes test more predictable in the face of changes in the pattern
of memory allocations inside the library.
Rhodri James [Wed, 26 Jul 2017 17:13:06 +0000 (18:13 +0100)]
Make test_nsalloc_realloc_long_ge_name() robust.
Make test robust against memory allocation pattern changes
Rhodri James [Wed, 26 Jul 2017 17:11:28 +0000 (18:11 +0100)]
Make context reallocation tests robust vs allocation pattern changes
Rhodri James [Wed, 26 Jul 2017 17:10:16 +0000 (18:10 +0100)]
Make test_nsalloc_long_context() robust vs allocation pattern changes
Rhodri James [Wed, 26 Jul 2017 17:08:40 +0000 (18:08 +0100)]
Make test_nsalloc_less_long_namespace() robust vs allocation changes
Rhodri James [Wed, 26 Jul 2017 17:06:46 +0000 (18:06 +0100)]
Make test_nsalloc_long_namespace() robust vs allocation pattern changes
Rhodri James [Wed, 26 Jul 2017 17:01:53 +0000 (18:01 +0100)]
Make test_nsalloc_realloc_longer_prefix_count() robust.
Remove test's vulnerability to changing memory allocation patterns