zfs/lib/libzfs
cao 2d96d7aa56 Fix zfs_unmount() and zfs_unshare_proto() leaks
Always free mnpt memory on failure in the zfs_unmount() function.

In the zfs_unshare_proto() function mountpoint is a const and
should not be assigned.

Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5054
2016-09-01 11:39:45 -07:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Remove libzfs_graph.c 2016-06-16 13:53:15 -07:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
libzfs_config.c Fix indefinite article 2016-08-11 11:23:49 -07:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_dataset.c Performance optimization of AVL tree comparator functions 2016-08-31 14:35:34 -07:00
libzfs_diff.c OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
libzfs_fru.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libzfs_import.c Fix memory leak in function add_config() 2016-08-01 12:49:03 -07:00
libzfs_iter.c Performance optimization of AVL tree comparator functions 2016-08-31 14:35:34 -07:00
libzfs_mount.c Fix zfs_unmount() and zfs_unshare_proto() leaks 2016-09-01 11:39:45 -07:00
libzfs_pool.c OpenZFS 6876 - Stack corruption after importing a pool with a too-long name 2016-06-28 13:47:04 -07:00
libzfs_sendrecv.c Performance optimization of AVL tree comparator functions 2016-08-31 14:35:34 -07:00
libzfs_status.c Read spl_hostid module parameter before gethostid() 2015-02-04 16:44:53 -08:00
libzfs_util.c Fix: Array bounds read in zprop_print_one_property() 2016-08-22 10:23:47 -07:00