zfs/lib/libzfs
Brian Behlendorf b145e23daf Prevent zpool_find_vdev() from truncating vdev path
When extracting tokens from the string strtok(2) is allowed to modify
the passed buffer.  Therefore the zfs_strcmp_pathname() function must
make a copy of the passed string before passing it to strtok(3).

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@intel.com>
Closes #4312
2016-03-22 17:54:07 -07:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c Remove ZFC_IOC_*_MINOR ioctl()s 2013-12-16 09:15:57 -08:00
libzfs_config.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_dataset.c Add temporary mount options 2015-09-03 14:14:55 -07:00
libzfs_diff.c Change 3-digit octal escapes to 4-digit ones 2015-05-18 17:14:07 -07:00
libzfs_fru.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libzfs_graph.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_import.c Illumos 4626 - libzfs memleak in zpool_in_use() 2015-07-10 11:57:38 -07:00
libzfs_iter.c Illumos 5427 - memory leak in libzfs when doing rollback 2015-07-10 12:09:32 -07:00
libzfs_mount.c Honor xattr=sa dataset property 2015-09-19 13:32:34 -07:00
libzfs_pool.c Add -gLp to zpool subcommands for alt vdev names 2016-03-22 17:54:06 -07:00
libzfs_sendrecv.c Fix maybe uninitialized 2016-01-29 14:11:11 -08:00
libzfs_status.c Read spl_hostid module parameter before gethostid() 2015-02-04 16:44:53 -08:00
libzfs_util.c Prevent zpool_find_vdev() from truncating vdev path 2016-03-22 17:54:07 -07:00