diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-05-07 22:05:16 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-05-07 22:05:16 -0700 |
commit | b6b5bc9e9874934dd1c1b80a1aa0c0b1c454eab2 (patch) | |
tree | f8016b5eb78e1a7102cc92914af8a095a621e1f9 /pf.c | |
parent | 1f801eea5f4d17b83aee1170423d65a74e01a138 (diff) |
Improve error handling in copy_to_scratch
handle.c:95:5: warning: Array access (from variable 'buf') results in a null pointer dereference
buf[len] = '\0';
^~~
Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'pf.c')
0 files changed, 0 insertions, 0 deletions