summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-13 09:52:39 +0000
committerngie <ngie@FreeBSD.org>2016-05-13 09:52:39 +0000
commit999fa1c6e0efd35482d15b1b8f57f1bb8b76d00f (patch)
tree95eb98e99c8c36fa0ae54b8c8c0d6f4b0b8d67e2 /sys/compat/linux/linux_misc.c
parent4b32d6fd17461cf94aa5beb9217985fd26d6a36b (diff)
downloadFreeBSD-src-999fa1c6e0efd35482d15b1b8f57f1bb8b76d00f.zip
FreeBSD-src-999fa1c6e0efd35482d15b1b8f57f1bb8b76d00f.tar.gz
MFC r298839:
Fix memory allocation edgecases in kvm_argv(..) - Don't leak nbufp on realloc failure in kvm_argv - Catch malloc errors with bufp - Set buflen last in the "buflen == 0" case to ensure that bufp/nbufp is properly reallocated on the next go around
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud