aboutsummaryrefslogtreecommitdiff
path: root/lib/libucl
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-04-22 18:05:34 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-04-22 18:05:34 +0000
commitfb0e1892d9e31cdba013c27b24c47c86838924a8 (patch)
treebb4bdeb74de817bae84cb2140465d0699d8249d8 /lib/libucl
parent4c26ac696ca202c0aa1976f08e527adca4f9c946 (diff)
downloadsrc-fb0e1892d9e31cdba013c27b24c47c86838924a8.tar.gz
src-fb0e1892d9e31cdba013c27b24c47c86838924a8.zip
Fix up pointer issues with lib/libkvm
In particular, - avoid dereferencing NULL pointers - test pointers against NULL, not 0 - test for errout == NULL in the top-level functions (kvm_open, kvm_openfiles, kvm_open2, etc) - Replace a realloc and free on failure with reallocf Found with: devel/cocchinelle Differential Revision: https://reviews.freebsd.org/D5954 MFC after: 1 week Reviewed by: jhb Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=298485
Diffstat (limited to 'lib/libucl')
0 files changed, 0 insertions, 0 deletions