Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'zpool create' segfault due to bad syntax
Incorrect syntax should never cause a segfault. In this case listing multiple comma delimited options after '-o' triggered the problem. For example: zpool create -o ashift=12,listsnaps=on This patch resolves the issue by wrapping the calls which use hdr with a NULL test. Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#1118
- Loading branch information