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 / unity / test / testdata / CException.h
| 1 | #ifndef CEXCEPTION_H |
| 2 | #define CEXCEPTION_H |
| 3 | |
| 4 | #define CEXCEPTION_BEING_USED 1 |
| 5 | |
| 6 | #define CEXCEPTION_NONE 0 |
| 7 | #define CEXCEPTION_T int e = 1; (void) |
| 8 | #define Try if (e) |
| 9 | #define Catch(a) if (!a) |
| 10 | |
| 11 | #endif //CEXCEPTION_H |