]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: remove obsolete comments
authorBaptiste Assmann <bedis9@gmail.com>
Tue, 18 Feb 2020 23:53:26 +0000 (00:53 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 26 Mar 2020 11:43:36 +0000 (12:43 +0100)
This patch removes some old comments introduced by
13a9232ebc63fdf357ffcf4fa7a1a5e77a1eac2b.
Those comments are related to issues already fixed.

src/dns.c

index bbc4f4ac1dab0559d7948018700c99be6e250f68..3e52e1731b0ac35e256235468446c0364134dc36 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -1030,7 +1030,6 @@ static int dns_validate_dns_response(unsigned char *resp, unsigned char *bufend,
 
        /* now parsing additional records */
        nb_saved_records = 0;
-       //TODO: check with Dinko for DNS poisoning
        for (i = 0; i < dns_p->header.arcount; i++) {
                if (reader >= bufend)
                        return DNS_RESP_INVALID;
@@ -1202,7 +1201,6 @@ static int dns_validate_dns_response(unsigned char *resp, unsigned char *bufend,
                                        continue;
                                tmp_record->ar_item = dns_answer_record;
                        }
-                       //TODO: there is a leak for now, since we don't clean up AR records
 
                        LIST_ADDQ(&dns_p->ar_list, &dns_answer_record->list);
                }