json-glib-0.10.2 didn't support unicode surrogate pair encoding

Bug #610606 reported by jagad hariseno
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
json-glib
Expired
Medium
json-glib (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

json-glib didn't support surrogate pair encoding.
This example input will make json-glib crash.
{
"crash":"\ud835\ude82\ud835\ude8e\ud835\ude90\ud835\ude8a\ud835\ude95\ud835\ude8a"
}

I attached the patch to solve this problem.

regards.

Revision history for this message
jagad hariseno (jagadhariseno) wrote :
tags: added: json-glib
tags: added: patch
Revision history for this message
Daniel Holbach (dholbach) wrote :

Rodrigo: can you review this?

Changed in json-glib:
importance: Unknown → Medium
status: Unknown → New
Changed in json-glib:
status: New → Expired
Revision history for this message
Laurent Bigonville (bigon) wrote :

This seems fixed since 0.12, closing

Changed in json-glib (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.