From: NeilBrown Date: Tue, 26 Feb 2008 18:57:39 +0000 (-0500) Subject: If validateascii is passed a string containing only non-zero 7bit X-Git-Tag: nfs-utils-1-1-2~13 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=inline;h=bcd0fcaf0966c546da5043be700587f73174ae25;hp=bcd0fcaf0966c546da5043be700587f73174ae25;p=nfs-utils.git If validateascii is passed a string containing only non-zero 7bit values, then the loop with exit with i == len, and the following test will access beyond the end of the array. So add an extra test to fix this. Found by Marcus Meissner . Signed-off-by: NeilBrown Signed-off-by: Steve Dickson ---