From 426c5f30c28b82fb9775e1de4cf1cfe5eeb3ae83 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 30 Jul 2010 15:02:57 +0000 Subject: We have been too overly cautious not to read beyond the boundary. --- ot_accesslist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_accesslist.c') diff --git a/ot_accesslist.c b/ot_accesslist.c index 85dd27a..1c8dff4 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -59,7 +59,7 @@ static void accesslist_readfile( void ) { read_offs = map; /* We do ignore anything that is not of the form "^[:xdigit:]{40}[^:xdigit:].*" */ - while( read_offs + 40 <= map_end ) { + while( read_offs <= map_end ) { int i; for( i=0; i<(int)sizeof(ot_hash); ++i ) { int eger1 = scan_fromhex( read_offs[ 2*i ] ); -- cgit v1.2.3