From eca7b76001a7d33f78bd98884aef8325bdbf98e7 Mon Sep 17 00:00:00 2001 From: Igor Kozhukhov Date: Wed, 15 Jun 2016 14:28:36 -0700 Subject: OpenZFS 6314 - buffer overflow in dsl_dataset_name Reviewed by: George Wilson Reviewed by: Prakash Surya Reviewed by: Igor Kozhukhov Approved by: Dan McDonald Ported-by: Brian Behlendorf OpenZFS-issue: https://www.illumos.org/issues/6314 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/d6160ee --- include/sys/zap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys/zap.h') diff --git a/include/sys/zap.h b/include/sys/zap.h index 70cbaae97..700947397 100644 --- a/include/sys/zap.h +++ b/include/sys/zap.h @@ -363,7 +363,7 @@ typedef struct { boolean_t za_normalization_conflict; uint64_t za_num_integers; uint64_t za_first_integer; /* no sign extension for <8byte ints */ - char za_name[MAXNAMELEN]; + char za_name[ZAP_MAXNAMELEN]; } zap_attribute_t; /* -- cgit v1.2.3