mirror_zfs/lib/libzfs
Jorgen Lundman 53c2ec1d1b 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 <behlendorf1@llnl.gov>
Closes #1118
2012-12-04 11:15:25 -08:00
..
libzfs_changelist.c Recreate minors when renaming zvols 2012-11-19 16:59:44 -08:00
libzfs_config.c Illumos #1796, #2871, #2903, #2957 2012-08-23 10:40:02 -07:00
libzfs_dataset.c Illumos #3100: zvol rename fails with EBUSY when dirty. 2012-10-03 13:59:02 -07:00
libzfs_diff.c Add linux compatibility 2010-08-31 13:41:59 -07:00
libzfs_fru.c Add linux topology support 2010-08-31 13:42:00 -07:00
libzfs_graph.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_import.c Update spare and cache device names on import 2012-10-22 08:46:02 -07:00
libzfs_iter.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
libzfs_mount.c Implemented sharing datasets via SMB using libshare 2012-12-03 09:42:15 -08:00
libzfs_pool.c Allow GPT+EFI vdevs for root pools 2012-11-30 13:45:14 -08:00
libzfs_sendrecv.c Illumos #2703: add mechanism to report ZFS send progress 2012-09-19 13:39:06 -07:00
libzfs_status.c Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
libzfs_util.c Fix 'zpool create' segfault due to bad syntax 2012-12-04 11:15:25 -08:00
Makefile.am Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00