diff options
author | IIMarckus <iimarckus@gmail.com> | 2017-06-29 22:45:30 -0600 |
---|---|---|
committer | IIMarckus <iimarckus@gmail.com> | 2017-06-29 22:45:30 -0600 |
commit | 80888726b9e5d8d62a8b1e76615bb11a1c9ca191 (patch) | |
tree | 30ca3db489f822926a80684d135d48af0585cdfb /tools/scan_includes.c | |
parent | 2ebbe91fe8fe87587e688bae49732d82a2f1f8b5 (diff) |
Check some errors (not enough).
malloc can always fail. Check to avoid null dereference.
malloc(0) is well defined but leads to an eventual crash on some systems.
Check it too.
Diffstat (limited to 'tools/scan_includes.c')
0 files changed, 0 insertions, 0 deletions