1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-01 02:59:01 +00:00

More elaborate reasons for OmitSubmissionFP

This commit is contained in:
fyodor
2006-09-02 21:50:35 +00:00
parent b526a04ad0
commit a111518907
5 changed files with 25 additions and 17 deletions

View File

@@ -569,9 +569,9 @@ static u32 parse_inaddr_arpa(unsigned char *buf, int maxlen) {
u32 ip=0;
int i, j;
for (i=0; i<=3; i++) {
if (maxlen <= 0) return 0;
if (maxlen <= 0) return 0;
for (i=0; i<=3; i++) {
if (buf[0] < 1 || buf[0] > 3) return 0;
maxlen -= buf[0] + 1;