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
| 1 | #!/bin/bash |
| 2 | |
| 3 | mkdir -p afl-build || exit 1 |
| 4 | cd afl-build || exit 1 |
| 5 | #cleanup |
| 6 | rm -r -- * |
| 7 | |
| 8 | CC=afl-clang-fast cmake ../.. -DENABLE_FUZZING=On -DENABLE_SANITIZERS=On -DBUILD_SHARED_LIBS=Off |
| 9 | make afl |