ticket-1241-20040415

Correct mistaken use of >= when > is appropriate
This commit is contained in:
Jeffrey Altman 2004-04-15 22:04:21 +00:00 committed by Jeffrey Altman
parent fa189b670d
commit f3983124b1

View File

@ -1103,7 +1103,7 @@ afs_HandlePioctl(struct vnode *avp, afs_int32 acom,
inSize = ablob->in_size;
/* Do all range checking before continuing */
if (inSize >= MAXPIOCTLTOKENLEN || inSize < 0 || ablob->out_size < 0)
if (inSize > MAXPIOCTLTOKENLEN || inSize < 0 || ablob->out_size < 0)
return E2BIG;
if (inSize > AFS_LRALLOCSIZE) {