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 / test5.expected
| 1 | { |
| 2 | "menu": { |
| 3 | "header": "SVG Viewer", |
| 4 | "items": [{ |
| 5 | "id": "Open" |
| 6 | }, { |
| 7 | "id": "OpenNew", |
| 8 | "label": "Open New" |
| 9 | }, null, { |
| 10 | "id": "ZoomIn", |
| 11 | "label": "Zoom In" |
| 12 | }, { |
| 13 | "id": "ZoomOut", |
| 14 | "label": "Zoom Out" |
| 15 | }, { |
| 16 | "id": "OriginalView", |
| 17 | "label": "Original View" |
| 18 | }, null, { |
| 19 | "id": "Quality" |
| 20 | }, { |
| 21 | "id": "Pause" |
| 22 | }, { |
| 23 | "id": "Mute" |
| 24 | }, null, { |
| 25 | "id": "Find", |
| 26 | "label": "Find..." |
| 27 | }, { |
| 28 | "id": "FindAgain", |
| 29 | "label": "Find Again" |
| 30 | }, { |
| 31 | "id": "Copy" |
| 32 | }, { |
| 33 | "id": "CopyAgain", |
| 34 | "label": "Copy Again" |
| 35 | }, { |
| 36 | "id": "CopySVG", |
| 37 | "label": "Copy SVG" |
| 38 | }, { |
| 39 | "id": "ViewSVG", |
| 40 | "label": "View SVG" |
| 41 | }, { |
| 42 | "id": "ViewSource", |
| 43 | "label": "View Source" |
| 44 | }, { |
| 45 | "id": "SaveAs", |
| 46 | "label": "Save As" |
| 47 | }, null, { |
| 48 | "id": "Help" |
| 49 | }, { |
| 50 | "id": "About", |
| 51 | "label": "About Adobe CVG Viewer..." |
| 52 | }] |
| 53 | } |
| 54 | } |