mirror of
git://erdgeist.org/opentracker
synced 2025-07-23 17:05:20 +02:00
We have been too overly cautious not to read beyond the boundary.
This commit is contained in:
parent
3636be6cc7
commit
426c5f30c2
1 changed files with 1 additions and 1 deletions
|
@ -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 ] );
|
||||
|
|
Loading…
Add table
Reference in a new issue