#
38d6867b |
| 24-Jul-2019 |
martin <martin@NetBSD.org> |
Adapt for userland compilation
|
#
36bd5349 |
| 24-Jul-2019 |
sevan <sevan@NetBSD.org> |
off by 1
|
#
68ac286a |
| 24-Jul-2019 |
sevan <sevan@NetBSD.org> |
need sys/kmem.h for kmem_free()
|
#
8d59ef61 |
| 24-Jul-2019 |
martin <martin@NetBSD.org> |
PR kern/54406: the result of vasprintf (in the kernel) should be freed by kmem_free(). Spotted by Mindaugas.
|
#
47dec27b |
| 23-Jul-2019 |
rmind <rmind@NetBSD.org> |
- nvpair_create_stringf: use the in-kernel vasprintf(). - Make nvlist_add_stringf() availabe in the kernel.
|
#
cdcd9151 |
| 15-Feb-2019 |
rmind <rmind@NetBSD.org> |
nvpair_remove_nvlist_array: revert part of the rev 1.4 change (it was applied by mistake because the libnv upsteam code on Github has deviated from FreeBSD, i.e. it has a different nvlist_set_array_n
nvpair_remove_nvlist_array: revert part of the rev 1.4 change (it was applied by mistake because the libnv upsteam code on Github has deviated from FreeBSD, i.e. it has a different nvlist_set_array_next() logic).
show more ...
|
#
5b1f1ec0 |
| 12-Feb-2019 |
rmind <rmind@NetBSD.org> |
libnv: Free the data array for NV_TYPE_DESCRIPTOR_ARRAY case. Obtained from FreeBSD rev 343987 by oshogbo@.
|
#
a8d8406b |
| 12-Feb-2019 |
rmind <rmind@NetBSD.org> |
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_
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.
show more ...
|
#
78ae64f9 |
| 08-Sep-2018 |
christos <christos@NetBSD.org> |
fix kernel build.
|
#
4ea48eba |
| 08-Sep-2018 |
christos <christos@NetBSD.org> |
Add NetBSD stuff.
|
#
be52138f |
| 08-Sep-2018 |
christos <christos@NetBSD.org> |
Import libnv from FreeBSD
|