freebsd-dev/lib
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
..
libavl Remove autotools products 2012-08-27 11:47:44 -07:00
libefi Remove autotools products 2012-08-27 11:47:44 -07:00
libnvpair Remove autotools products 2012-08-27 11:47:44 -07:00
libshare Implemented sharing datasets via SMB using libshare 2012-12-03 09:42:15 -08:00
libspl Add txgs-<pool> kstat file 2012-11-02 15:45:56 -07:00
libunicode Remove autotools products 2012-08-27 11:47:44 -07:00
libuutil Remove autotools products 2012-08-27 11:47:44 -07:00
libzfs Fix 'zpool create' segfault due to bad syntax 2012-12-04 11:15:25 -08:00
libzpool Create threads in detached state in userspace. 2012-10-03 13:32:48 -07:00
Makefile.am Let libnvpair be linked independently of libzfs. 2012-02-07 11:37:15 -08:00