cJSON
[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
Brought by drakestapleton
cJSON / tests / inputs / test2
| 1 | {"menu": { |
| 2 | "id": "file", |
| 3 | "value": "File", |
| 4 | "popup": { |
| 5 | "menuitem": [ |
| 6 | {"value": "New", "onclick": "CreateNewDoc()"}, |
| 7 | {"value": "Open", "onclick": "OpenDoc()"}, |
| 8 | {"value": "Close", "onclick": "CloseDoc()"} |
| 9 | ] |
| 10 | } |
| 11 | }} |