diff options
author | Richard Yao <[email protected]> | 2022-10-14 16:33:22 -0400 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-12-01 12:39:41 -0800 |
commit | d016ca1a92037bb956f8ff749da9e3e48ba16323 (patch) | |
tree | 783023ae7282e8f9c44e10af6a20f6c943129485 /module | |
parent | d05f247aece91500e5a1883e6fbdee66adde171f (diff) |
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 <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #14008
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions