freebsd-nq/cmd/zfs
Andriy Gapon f728d00c4d 6314 buffer overflow in dsl_dataset_name
illumos/illumos-gate@9adfa60d48
9adfa60d48

https://www.illumos.org/issues/6314
  Callers of dsl_dataset_name pass a buffer of size ZFS_MAXNAMELEN, but
  dsl_dataset_name copies the datasets' name PLUS the snapshot name to it,
  resulting in a max of 2 * ZFS_MAXNAMELEN + '@'.

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Matthew Ahrens <mahrens@delphix.com>
2016-07-12 12:01:54 +00:00
..
zfs_iter.c 6902 speed up listing of snapshots if requesting name only and sorting by name 2016-07-12 11:21:41 +00:00
zfs_iter.h 6902 speed up listing of snapshots if requesting name only and sorting by name 2016-07-12 11:21:41 +00:00
zfs_main.c 6314 buffer overflow in dsl_dataset_name 2016-07-12 12:01:54 +00:00
zfs_util.h Update vendor/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 07:48:04 +00:00