[riot-notifications] [RIOT-OS/RIOT] sock_dns: fix out-of-bound errors (#10740)

Kaspar Schleiser notifications at github.com
Thu Jan 10 13:08:09 CET 2019


I just tried the test on native, it returns "error resolving example.org".

dnsmasq seems to have gotten the request:

```
[kaspar at ng riot (minimize)]$ sudo dnsmasq -d -2 -z -i riot0 -q --no-resolv \                                                                 
>         --dhcp-range=::1,constructor:riot0,ra-only \
>         --listen-address 2001:db8::1 \
>         --host-record=example.org,10.0.0.1,2001:db8::1
dnsmasq: started, version 2.80 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify dumpfile
dnsmasq: warning: no upstream servers configured
dnsmasq-dhcp: router advertisement on riot0
dnsmasq-dhcp: router advertisement on 2001:db8::, constructed for riot0                                                                      
dnsmasq-dhcp: RTR-ADVERT(riot0) 2001:db8::
dnsmasq: read /etc/hosts - 0 addresses
dnsmasq-dhcp: RTR-SOLICIT(riot0)
dnsmasq-dhcp: RTR-ADVERT(riot0) 2001:db8::
dnsmasq: config example.org is 2001:db8::1
dnsmasq: config example.org is 10.0.0.1
dnsmasq: config example.org is 2001:db8::1
dnsmasq: config example.org is 10.0.0.1
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10740#issuecomment-453073889
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190110/b560d40b/attachment.html>


More information about the notifications mailing list