Subject: Re: [PATCH] ares_parse_txt_reply

Re: [PATCH] ares_parse_txt_reply

From: Yang Tse <yangsita_at_gmail.com>
Date: Fri, 30 Oct 2009 14:28:57 +0100

Hey,

struct ares_txt_reply {
  unsigned int length;
  unsigned char *txt;
};

I would really like to change the 'length' data type to 'unsigned
long', or even more properly to 'size_t'. We can not be defensive
enough about what an evil DNS server might send back.

-- 
-=[Yang]=-
Received on 2009-10-30