mirror of
https://github.com/json-c/json-c.git
synced 2026-03-28 01:19:07 +08:00
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.
This commit is contained in:
@@ -25,6 +25,8 @@ Other changes
|
||||
Add json_object_array_shrink() and array_list_shrink() functions.
|
||||
* Add json_object_new_array_ext(int) and array_list_new_2(int) to allow
|
||||
arrays to be allocated with the exact size needed, when known.
|
||||
* Parsing of surrogate pairs in unicode escapes now properly handles
|
||||
incremental parsing.
|
||||
|
||||
|
||||
***
|
||||
|
||||
Reference in New Issue
Block a user