diff options
author | Richard Yao <[email protected]> | 2022-10-16 00:19:13 -0400 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-12-01 12:39:42 -0800 |
commit | 409c99a1d3e5c47c5b61a4d471c60c5b92c887a6 (patch) | |
tree | 12dac0808d034aa9848a5087d9d35419d25d3af1 /lib | |
parent | bbec0e60a8e75e9f63a6a415a86054b42ef6d675 (diff) |
Fix NULL pointer dereference in spa_open_common()
Calling spa_open() will pass a NULL pointer to spa_open_common()'s
config parameter. Under the right circumstances, we will dereference the
config parameter without doing a NULL check.
Clang's static analyzer found this.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #14044
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions