mirror_zfs/lib/libzpool
LOLi 7b0dc2a317 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 <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #5917
2017-03-23 18:57:54 -07:00
..
kernel.c OpenZFS 6871 - libzpool implementation of thread_create should enforce length is 0 2017-01-24 09:13:49 -08:00
Makefile.am OpenZFS 7280 - Allow changing global libzpool variables in zdb and ztest through command line 2017-01-31 10:13:10 -08:00
taskq.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
util.c Fix 'zdb -o' segmentation fault 2017-03-23 18:57:54 -07:00