mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
ticket-1241-20040415
Correct mistaken use of >= when > is appropriate
This commit is contained in:
parent
fa189b670d
commit
f3983124b1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user