]> granicus.if.org Git - libexpat/commit
Remove speculative test from byte_character_handler().
authorRhodri James <rhodri@kynesim.co.uk>
Tue, 22 Aug 2017 13:59:01 +0000 (14:59 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 29 Aug 2017 21:13:13 +0000 (23:13 +0200)
commit70d19d635a355da5b2cecf02ff6c01b3f56106ff
tree1cb85e879a10c92925a7b329ce114154c42dad04
parentbd93a149d282e6641b76e18cd49cd0695a9184d2
Remove speculative test from byte_character_handler().

byte_character_handler() used to test that the string pointer `s`
passed to it was at the correct offset ino the input buffer.  This
is not guaranteed to be the case, and definitely won't be the case
if the input encoding has a different minimum bytes-per-character
to the internal encoding.
expat/tests/runtests.c