]> granicus.if.org Git - libexpat/commit
Test long attribute with a dodgy reallocator
authorRhodri James <rhodri@kynesim.co.uk>
Fri, 17 Mar 2017 16:40:52 +0000 (16:40 +0000)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 22 Jul 2017 20:49:14 +0000 (22:49 +0200)
commit02dfd4b377aa4cc7cec8f6de3c01109e987738ca
tree71589698715280eabe1853bd2a26c98b2a649d0a
parentbf27884912d2d89f379fa53410beab8d52b967c7
Test long attribute with a dodgy reallocator

This tests a specific code path through parameter substitution, and
requires the attribute value to come out to 1024 bytes PLUS a terminal
NUL to trigger growth of the string pool in use.  The NUL is added
separately, and it is that string append that we are triggering on.
expat/tests/runtests.c