zfs/lib/libzfs_core
Richard Yao d016ca1a92 Fix potential NULL pointer dereference in lzc_ioctl()
Users are allowed to pass NULL to resultp, but we unconditionally assume
that they never do. When an external user does pass NULL to resultp, we
dereference a NULL pointer.

Clang's static analyzer complained about this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14008
2022-12-01 12:39:41 -08:00
..
.gitignore Clean up lib dependencies 2020-07-10 14:26:00 -07:00
Makefile.am Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzfs_core.abi Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
libzfs_core.c Fix potential NULL pointer dereference in lzc_ioctl() 2022-12-01 12:39:41 -08:00
libzfs_core.pc.in Spruce up pkg-config files for libzfs/libzfs_core 2020-09-04 11:11:18 -07:00
libzfs_core.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00