mirror_zfs/lib
Ryan Moeller 1f8e5b6cb8
Fix error check in nvlist_print_json_string
Move check for errors from mbrtowc() into the loop.  The error values
are not actually negative, so we don't break out of the loop when they
are encountered.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12175
Closes #12176
2021-06-04 13:53:44 -06:00
..
libavl cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libefi libefi: efi_get_devname: don't allocate procfs path 2021-06-03 13:17:49 -07:00
libicp cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libnvpair Fix error check in nvlist_print_json_string 2021-06-04 13:53:44 -06:00
libshare libzfs: don't distribute libzfs_impl.h 2021-06-03 13:17:35 -07:00
libspl libspl: staticify buf and pagesize, rename aok to libspl_assert_ok 2021-06-03 11:04:13 -06:00
libtpool cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libunicode cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libuutil libspl: staticify buf and pagesize, rename aok to libspl_assert_ok 2021-06-03 11:04:13 -06:00
libzfs libzfs: convert to -fvisibility=hidden 2021-06-03 13:17:55 -07:00
libzfs_core libspl: staticify buf and pagesize, rename aok to libspl_assert_ok 2021-06-03 11:04:13 -06:00
libzfsbootenv libzfsbootenv: lzbe_set_boot_device(): don't free undefined pointer 2021-05-08 09:27:53 -07:00
libzpool lib/: set O_CLOEXEC on all fds 2021-04-11 15:45:59 -07:00
libzstd cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libzutil Reinstate the old zpool read label logic as a fallback 2021-05-26 22:07:31 -07:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00