Last fix was not enough to get rid off those 1600er buggers.

This commit is contained in:
erdgeist 2007-10-21 05:26:55 +00:00
parent 00972c6c68
commit 3aa286d9b8

View File

@ -419,7 +419,7 @@ SCRAPE_WORKAROUND:
continue;
}
/* ignore this, when we have less than 20 bytes */
if( scan_urlencoded_query( &c, data = c, SCAN_SEARCHPATH_VALUE ) != 20 ) HTTPERROR_400_PARAM;
if( scan_urlencoded_query( &c, data = c, SCAN_SEARCHPATH_VALUE ) < sizeof(ot_hash) ) HTTPERROR_400_PARAM;
if( scrape_count < OT_MAXMULTISCRAPE_COUNT )
memmove( multiscrape_buf + scrape_count++, data, sizeof(ot_hash) );
break;