nuttx/libc/netdb
Dmitriy Linikov 39ef04353c Merged in hardlulz/modem-3.0-nuttx/fix-parsing-dns-response (pull request #605)
Fixed parsing of DNS response packets having compressed names ending with pointer.

There were troubles parsing response packets which have compression of
QNAME/NAME field when only trailing part of the name (not the whole name)
is replaced with pointer to another part of the packet.
This commit fixes parsing of such packets.

Also I added checks to keep parsing only in bounds of the read part
of DNS response packet.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-26 17:43:37 +00:00
..
Kconfig libc/Kconfig: Use menus vs. comments to better organize the C library menus 2017-02-10 10:04:56 -06:00
lib_dns.h Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
lib_dnsaddserver.c Squashed commit of the following: 2018-01-30 17:57:36 -06:00
lib_dnsbind.c Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
lib_dnscache.c netdb: Fix time info in lib_dnscache.c 2017-05-23 16:02:41 +09:00
lib_dnsforeach.c Squashed commit of the following: 2018-01-30 17:57:36 -06:00
lib_dnsinit.c Merged in hardlulz/modem-3.0-nuttx/fix-sem-EINTR (pull request #603) 2018-02-20 18:24:53 +00:00
lib_dnsquery.c Merged in hardlulz/modem-3.0-nuttx/fix-parsing-dns-response (pull request #605) 2018-02-26 17:43:37 +00:00
lib_gethostbyaddr.c Remove dangling whitespace at the end of some lines. 2017-06-28 10:39:54 -06:00
lib_gethostbyaddrr.c Squashed commit of the following: 2018-01-30 17:57:36 -06:00
lib_gethostbyname.c Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
lib_gethostbynamer.c Make sure that labeling is used consistently in all function headers (part 2). 2018-02-01 12:03:55 -06:00
lib_netdb.c Move definition of h_errno from lib_parsehostfile.c to lib_netdb. h_errno should still be defined even if there is no host file support. From Sebastien Lorquet. 2015-07-17 09:39:45 -06:00
lib_netdb.h gethostbyname() will not attempt a DNS lookup if so enabled 2015-07-10 13:30:09 -06:00
lib_parsehostfile.c Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
Make.defs netdb: Separate lib_dnsclient.c into lib_dnsbind.c and lib_dnsquery.c 2016-01-14 10:30:47 -06:00