vlserver: Use correct literal in bounds check
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 2 Mar 2013 09:01:59 +0000 (09:01 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Thu, 7 Mar 2013 15:50:42 +0000 (07:50 -0800)
commit6a54bf735871d93bc77e5cf166e506f4f2423d0a
tree1c56a146d70d5c4b97039e6b6f17add0ba7e0e63
parent6c41b1f740e16b5b9adfe9026630595be6f0699e
vlserver: Use correct literal in bounds check

The base array has VL_MAX_ADDREXTBLKS elements. Use this when
checking for an array overflow, rather than VL_ADDREXTBLK_SIZE.

Caught by coverity (#985600)

Change-Id: Ie60ad5cc79c41245028887871759776549694426
Reviewed-on: http://gerrit.openafs.org/9346
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/vlserver/cnvldb.c