]> granicus.if.org Git - json-c/commit
Issue #616: Change the parsing of surrogate pairs in unicode escapes so it uses a...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 21 Jun 2020 18:17:40 +0000 (18:17 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sun, 21 Jun 2020 18:29:57 +0000 (18:29 +0000)
commita68566bf6a2b44b5932072e85261a971097bc0a9
tree4aa1a690675b26b23fcf1eaaf20ddec53c4ae5b1
parent197e3724641f26a54546c66ecdf6bf950735e05b
Issue #616: Change the parsing of surrogate pairs in unicode escapes so it uses a couple of additional states instead of assuming the low surrogate is already present, to ensure that we correctly handle various cases of incremental parsing.
ChangeLog
json_tokener.c
json_tokener.h
tests/test_parse.c
tests/test_parse.expected