summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2015-12-21 12:56:45 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2015-12-21 12:56:45 +0000
commit61b85d45c4c7ed56fa0e15da3ce706b7ec10b000 (patch)
treec5edba9a3a562057d10f41f320d5cbc957a33059
parent214e43f02f8e6b4623ca7b7649d3a19b51f1e634 (diff)
parent2bd7a8d078223b122d65fea49bb8641f858b1409 (diff)
downloadillumos-joyent-61b85d45c4c7ed56fa0e15da3ce706b7ec10b000.tar.gz
[illumos-gate merge]
commit 2bd7a8d078223b122d65fea49bb8641f858b1409 6527 Possible access beyond end of string in zpool comment
-rw-r--r--usr/src/uts/common/fs/zfs/spa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/zfs/spa.c b/usr/src/uts/common/fs/zfs/spa.c
index c744ba73a1..912053db7d 100644
--- a/usr/src/uts/common/fs/zfs/spa.c
+++ b/usr/src/uts/common/fs/zfs/spa.c
@@ -590,7 +590,6 @@ spa_prop_validate(spa_t *spa, nvlist_t *props)
error = SET_ERROR(EINVAL);
break;
}
- check++;
}
if (strlen(strval) > ZPROP_MAX_COMMENT)
error = E2BIG;