Home | History | Annotate | Download | only in dist
History log of /src/sys/external/bsd/libnv/dist/nv_impl.h
RevisionDateAuthorComments
 1.7  24-Jul-2019  martin Adapt for userland compilation
 1.6  12-Feb-2019  rmind branches: 1.6.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.
 1.5  23-Sep-2018  rmind branches: 1.5.2;
libnv: add a wrapper around free(9) since in FreeBSD it can take NULL.
 1.4  22-Sep-2018  rmind libnv: fix some NetBSD wrappers.
 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
 1.1.1.1  08-Sep-2018  christos Import libnv from FreeBSD
 1.5.2.2  30-Sep-2018  pgoyette Ssync with HEAD
 1.5.2.1  23-Sep-2018  pgoyette file nv_impl.h was added on branch pgoyette-compat on 2018-09-30 01:45:55 +0000
 1.6.4.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6.4.2  10-Jun-2019  christos Sync with HEAD
 1.6.4.1  12-Feb-2019  christos file nv_impl.h was added on branch phil-wifi on 2019-06-10 22:08:38 +0000

RSS XML Feed