We have been too overly cautious not to read beyond the boundary.

dynamic-accesslists
erdgeist 15 years ago
parent 3636be6cc7
commit 426c5f30c2

@ -59,7 +59,7 @@ static void accesslist_readfile( void ) {
read_offs = map; read_offs = map;
/* We do ignore anything that is not of the form "^[:xdigit:]{40}[^:xdigit:].*" */ /* 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; int i;
for( i=0; i<(int)sizeof(ot_hash); ++i ) { for( i=0; i<(int)sizeof(ot_hash); ++i ) {
int eger1 = scan_fromhex( read_offs[ 2*i ] ); int eger1 = scan_fromhex( read_offs[ 2*i ] );

Loading…
Cancel
Save