-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
An application using faup parsing url crashed. Put it in gdb, showed that crashed on tld-tree.c:295.
Then put a printf in the code after line:
p = tld + tld_len - 1;
printf("tld %s tld_len %d p %s\n", tld, tld_len, p);
Got the following output when parsing antispyware.giantcompany.microsoft.akadns.net
tld net tld_len 3 p t
tld akadns.net tld_len 10 p t
tld net tld_len 34 p ESC*
The third output tld_len is 34, which does not make any sense. And the content in p is garbage.
Please check.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels