| 24881c06 | 18-Jun-2018 |
Mariusz Zaborski <[email protected]> |
libnv: Add nvlist_append_*_array() family of functions.
The nvlist_append_{bool,number,string,nvlist,descriptor}_array() functions allows to dynamically extend array stored in the nvlist.
Submitted
libnv: Add nvlist_append_*_array() family of functions.
The nvlist_append_{bool,number,string,nvlist,descriptor}_array() functions allows to dynamically extend array stored in the nvlist.
Submitted by: Mindaugas Rasiukevicius <[email protected]>
show more ...
|
| f31a4fc8 | 29-May-2017 |
Enji Cooper <[email protected]> |
:dnvlist_get_string__default_value: fix a bogus string comparison test
Check actual_value vs "5", not "5" vs itself.
MFC after: 3 days Reported by: Coverity CID: 1362021 Sponsored by: Dell EMC Isi
:dnvlist_get_string__default_value: fix a bogus string comparison test
Check actual_value vs "5", not "5" vs itself.
MFC after: 3 days Reported by: Coverity CID: 1362021 Sponsored by: Dell EMC Isilon
show more ...
|
| 6399b5e0 | 29-May-2017 |
Enji Cooper <[email protected]> |
:nvlist_unpack__duplicate_key : check the result of nvlist_pack(3)
This fixes a potential NULL pointer dereference.
MFC after: 3 days Reported by: Coverity CID: 1362051 Sponsored by: Dell EMC Isil
:nvlist_unpack__duplicate_key : check the result of nvlist_pack(3)
This fixes a potential NULL pointer dereference.
MFC after: 3 days Reported by: Coverity CID: 1362051 Sponsored by: Dell EMC Isilon
show more ...
|
| db61e6ef | 04-Jan-2016 |
Enji Cooper <[email protected]> |
Remove free'ing of an uninitialized variable
Just remove it completely from the test as it's initialized but unused apart from the free(3) call
Differential Revision: https://reviews.freebsd.org/D4
Remove free'ing of an uninitialized variable
Just remove it completely from the test as it's initialized but unused apart from the free(3) call
Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff) MFC after: 5 days Reported by: cppcheck Reviewed by: oshogbo Sponsored by: EMC / Isilon Storage Division
show more ...
|
| e02f530e | 04-Jan-2016 |
Enji Cooper <[email protected]> |
Use `nitems(x)` macro instead of using hardcoded numbers for indices into the nvlists
Convert some of the variables from int to unsigned int to squelch -Wsign-compare warnings when converting hardco
Use `nitems(x)` macro instead of using hardcoded numbers for indices into the nvlists
Convert some of the variables from int to unsigned int to squelch -Wsign-compare warnings when converting hardcoded values to nitems(..)
Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff) MFC after: 5 days Reviewed by: oshogbo Sponsored by: EMC / Isilon Storage Division
show more ...
|
| bd7f70da | 04-Jan-2016 |
Enji Cooper <[email protected]> |
Convert another `string` variable to `string_arr` missed in r293130
Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff) MFC after: 5 days Reviewed by: oshogbo Sponsored by
Convert another `string` variable to `string_arr` missed in r293130
Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff) MFC after: 5 days Reviewed by: oshogbo Sponsored by: EMC / Isilon Storage Division
show more ...
|
| 8d86e318 | 04-Jan-2016 |
Enji Cooper <[email protected]> |
Rename nitems and string variables to avoid collisions
Rename the `nitems` variable to `num_items` to avoid collisions with the macro in sys/param.h for counting elements in an array
Similarly, ren
Rename nitems and string variables to avoid collisions
Rename the `nitems` variable to `num_items` to avoid collisions with the macro in sys/param.h for counting elements in an array
Similarly, rename `string` to `string_arr` to avoid future collisions with potential keywords, as well as make it clear that `string_arr` isn't a char* value, but instead a char** value.
Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff) MFC after: 5 days Reviewed by: oshogbo Sponsored by: EMC / Isilon Storage Division
show more ...
|