Commit 1bd0268
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 <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #140441 parent 3146fc7 commit 1bd0268
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5267 | 5267 | | |
5268 | 5268 | | |
5269 | 5269 | | |
5270 | | - | |
| 5270 | + | |
5271 | 5271 | | |
5272 | 5272 | | |
5273 | 5273 | | |
| |||
0 commit comments