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 / test7
| 1 | [ |
| 2 | { |
| 3 | "precision": "zip", |
| 4 | "Latitude": 37.7668, |
| 5 | "Longitude": -122.3959, |
| 6 | "Address": "", |
| 7 | "City": "SAN FRANCISCO", |
| 8 | "State": "CA", |
| 9 | "Zip": "94107", |
| 10 | "Country": "US" |
| 11 | }, |
| 12 | { |
| 13 | "precision": "zip", |
| 14 | "Latitude": 37.371991, |
| 15 | "Longitude": -122.026020, |
| 16 | "Address": "", |
| 17 | "City": "SUNNYVALE", |
| 18 | "State": "CA", |
| 19 | "Zip": "94085", |
| 20 | "Country": "US" |
| 21 | } |
| 22 | ] |