svn commit: r294101 - vendor-sys/illumos/dist/uts/common/fs/zfs

Dimitry Andric dim at FreeBSD.org
Fri Jan 15 21:41:46 UTC 2016


Author: dim
Date: Fri Jan 15 21:41:45 2016
New Revision: 294101
URL: https://svnweb.freebsd.org/changeset/base/294101

Log:
  6527 Possible access beyond end of string in zpool comment
  
  Reviewed by: George Wilson <george.wilson at delphix.com>
  Reviewed by: Matthew Ahrens <mahrens at delphix.com>
  Reviewed by: Dan McDonald <danmcd at omniti.com>
  Approved by: Gordon Ross <gwr at nexenta.com>
  
  illumos/illumos-gate at 2bd7a8d078223b122d65fea49bb8641f858b1409

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c	Fri Jan 15 20:59:57 2016	(r294100)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/spa.c	Fri Jan 15 21:41:45 2016	(r294101)
@@ -590,7 +590,6 @@ spa_prop_validate(spa_t *spa, nvlist_t *
 					error = SET_ERROR(EINVAL);
 					break;
 				}
-				check++;
 			}
 			if (strlen(strval) > ZPROP_MAX_COMMENT)
 				error = E2BIG;


More information about the svn-src-all mailing list