mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
We have been too overly cautious not to read beyond the boundary.
This commit is contained in:
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…
x
Reference in New Issue
Block a user