diff options
author | erdgeist <> | 2010-07-30 15:02:57 +0000 |
---|---|---|
committer | erdgeist <> | 2010-07-30 15:02:57 +0000 |
commit | 426c5f30c28b82fb9775e1de4cf1cfe5eeb3ae83 (patch) | |
tree | 44554caf435b2ca97b0803ef1f238318740e2ef0 /ot_accesslist.c | |
parent | 3636be6cc7c5e6b516308973c85335283c57e136 (diff) |
We have been too overly cautious not to read beyond the boundary.
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r-- | ot_accesslist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { | |||
59 | read_offs = map; | 59 | read_offs = map; |
60 | 60 | ||
61 | /* We do ignore anything that is not of the form "^[:xdigit:]{40}[^:xdigit:].*" */ | 61 | /* We do ignore anything that is not of the form "^[:xdigit:]{40}[^:xdigit:].*" */ |
62 | while( read_offs + 40 <= map_end ) { | 62 | while( read_offs <= map_end ) { |
63 | int i; | 63 | int i; |
64 | for( i=0; i<(int)sizeof(ot_hash); ++i ) { | 64 | for( i=0; i<(int)sizeof(ot_hash); ++i ) { |
65 | int eger1 = scan_fromhex( read_offs[ 2*i ] ); | 65 | int eger1 = scan_fromhex( read_offs[ 2*i ] ); |