6527 Possible access beyond end of string in zpool comment
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com> illumos/illumos-gate@2bd7a8d078
This commit is contained in:
parent
24226b2409
commit
e6fea47cd3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user