1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sys/contrib
Mariusz Zaborski b5d787d93b libnv: fix memory leaks
nvpair_create_stringv: free the temporary string; this fix affects
nvlist_add_stringf() and nvlist_add_stringv().

nvpair_remove_nvlist_array (NV_TYPE_NVLIST_ARRAY case): free the chain
of nvpairs (as resetting it prevents nvlist_destroy() from freeing it).
Note: freeing the chain in nvlist_destroy() is not sufficient, because
it would still leak through nvlist_take_nvlist_array().  This affects
all nvlist_*_nvlist_array() use

Submitted by:	Mindaugas Rasiukevicius <rmind@netbsd.org>
Reported by:	clang/gcc ASAN
MFC after:	2 weeks
2019-02-10 23:28:55 +00:00
..
alpine-hal
ck Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes its 2018-11-27 12:35:51 +00:00
cloudabi Import the latest CloudABI definitions, v0.18. 2017-11-21 20:46:21 +00:00
dev MFV: r342867 2019-01-09 00:31:10 +00:00
edk2
ena-com Suppress excessive error prints in ENA TX hotpath 2019-01-16 02:13:21 +00:00
ipfilter/netinet Remove two more #ifdefs missed in r343701. 2019-02-04 05:37:16 +00:00
libb2 MFV: libb2: use native calls for secure memory clearance 2018-03-27 14:55:01 +00:00
libfdt MFV r328490: Update libfdt to github:f1879e1 2018-01-27 21:25:45 +00:00
libnv libnv: fix memory leaks 2019-02-10 23:28:55 +00:00
libsodium Bring in libsodium to sys/contrib 2018-08-17 00:23:50 +00:00
ncsw dpaa: fix 32-bit build 2019-01-19 05:20:31 +00:00
ngatm
octeon-sdk Octeon SDK: avoid use of uninitialized variable 2018-11-09 19:17:25 +00:00
rdma/krping krping: Fix for memory leak in error case. 2018-12-05 13:27:48 +00:00
v4l
vchiq/interface sx: retire SX_NOADAPTIVE 2018-12-05 16:43:03 +00:00
x86emu
xz-embedded
zstd Update to Zstandard 1.3.8 2018-12-29 21:18:01 +00:00