summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-10-11 16:46:16 +0000
committermav <mav@FreeBSD.org>2016-10-11 16:46:16 +0000
commitfe6d88ac9b99d21af919d56facd9ed0745db187a (patch)
tree36f54ce70f3601e04946d696c53d7f6978ae8ed1 /contrib/diff/src
parentcf06b294a4afda69e928cc38080f53eb6d868c7a (diff)
downloadFreeBSD-src-fe6d88ac9b99d21af919d56facd9ed0745db187a.zip
FreeBSD-src-fe6d88ac9b99d21af919d56facd9ed0745db187a.tar.gz
MFC r305193: MFV r302642:
6876 Stack corruption after importing a pool with a too-long name illumos/illumos-gate@c971037baa5d64dfecf6d87ed602fc3116ebec41 https://github.com/illumos/illumos-gate/commit/c971037baa5d64dfecf6d87ed602fc3116ebec41 https://www.illumos.org/issues/6876 Calling dsl_dataset_name on a dataset with a 256 byte buffer is asking for trouble. We should check every dataset on import, using a 1024 byte buffer and checking each time to see if the dataset's new name is longer than 256 bytes. Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net> Author: Paul Dagnelie <pcd@delphix.com>
Diffstat (limited to 'contrib/diff/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud