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.expected
| 1 | { |
| 2 | "menu": { |
| 3 | "id": "file", |
| 4 | "value": "File", |
| 5 | "popup": { |
| 6 | "menuitem": [{ |
| 7 | "value": "New", |
| 8 | "onclick": "CreateNewDoc()" |
| 9 | }, { |
| 10 | "value": "Open", |
| 11 | "onclick": "OpenDoc()" |
| 12 | }, { |
| 13 | "value": "Close", |
| 14 | "onclick": "CloseDoc()" |
| 15 | }] |
| 16 | } |
| 17 | } |
| 18 | } |