]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/unbound/libunbound/python/doc/examples/example3.rst
MFV r325605: 8713 Buffer overflow in dsl_dataset_name()
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 9 Nov 2017 18:12:21 +0000 (18:12 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Thu, 9 Nov 2017 18:12:21 +0000 (18:12 +0000)
commit2e06836feefe811754c587c72cc2283a691d6709
tree3b9cd9a851ad046ce94d694f21022d90549e8642
parent0cf77199b25ce15663bea5cba321001b240002c4
parent98b9b8cb4bcc0ea2f7b1e52b03b1d94d0c1d4475
MFV r325605: 8713 Buffer overflow in dsl_dataset_name()

illumos/illumos-gate@f37ae9a714b97eca91c74c680c20c750c7cf5c02
https://github.com/illumos/illumos-gate/commit/f37ae9a714b97eca91c74c680c20c750c7cf5c02

https://www.illumos.org/issues/8713
  If we're creating a pool with version >= SPA_VERSION_DSL_SCRUB (v11) we need to
  account for additional space needed by the origin dataset which will also be
  snapshotted: "poolname"+"/"+"$ORIGIN"+"@"+"$ORIGIN".
  Enforce this limit in pool_namecheck().

Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: loli10K <ezomori.nozomu@gmail.com>

MFC after: 1 week
sys/cddl/contrib/opensolaris/common/zfs/zfs_namecheck.c