diff options
author | LOLi <[email protected]> | 2017-03-24 02:57:54 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-23 18:57:54 -0700 |
commit | 7b0dc2a317a3d149d396bc48dae7b8e9bf1a1a6b (patch) | |
tree | 6181ac553851b369f74294fece050b1d6656ee4a /tests/test-runner | |
parent | 8d703987407acfcbd992ba4a7926f2d76ca3779c (diff) |
Fix 'zdb -o' segmentation fault
Fix a regression accidentally introduced by OpenZFS 7280 in ed828c0: since
whether to accept NULL as a valid first parameter in strchr() is implementation
specific we add an additional check to avoid crashing.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #5917
Diffstat (limited to 'tests/test-runner')
0 files changed, 0 insertions, 0 deletions