History log of /netbsd-current/sys/external/bsd/libnv/dist/nvlist.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.8 23-Jul-2019 rmind

- nvpair_create_stringf: use the in-kernel vasprintf().
- Make nvlist_add_stringf() availabe in the kernel.


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.7 12-Feb-2019 rmind

branches: 1.7.4;
libnv: fix multiple 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() users.

Found by clang/gcc ASAN. These fixes have been contributed to the
upstream (FreeBSD) repository.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.6 22-Sep-2018 rmind

branches: 1.6.2;
libnv: fix some NetBSD wrappers.


# 1.5 11-Sep-2018 christos

add dead...


# 1.4 08-Sep-2018 christos

fix kernel build.


# 1.3 08-Sep-2018 christos

FIx userland build


# 1.2 08-Sep-2018 christos

Add NetBSD stuff.


# 1.1 08-Sep-2018 christos

branches: 1.1.1;
Initial revision