[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-members] [bug #45004] valid messages are handled as invalid in dns
From: |
Simon Goldschmidt |
Subject: |
[lwip-members] [bug #45004] valid messages are handled as invalid in dns_recv |
Date: |
Mon, 04 May 2015 08:42:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36 |
Follow-up Comment #1, bug #45004 (project lwip):
>From reading the code, this problem still exists in git master.
> I did the follwing change. Then it works with my DNS Server also:
> if (p->tot_len < (SIZEOF_DNS_HDR + SIZEOF_DNS_QUERY )) {
I'm not sure this is enough. There seem to be missing some further length
checks, e.g. when copying the qurey to a local buffer...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?45004>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/