Changelog for the c-ares project
+* July 14 2007 (Daniel Stenberg)
+
+- Vlad Dinulescu fixed two outstanding valgrind reports.
+
Version 1.4.0 (June 8, 2007)
* June 4 2007 (Daniel Stenberg)
short ares__generate_new_id(rc4_key* key)
{
- short r;
+ short r=0;
ares__rc4(key, (unsigned char *)&r, sizeof(r));
return r;
}
static void process_answer(ares_channel channel, unsigned char *abuf,
int alen, int whichserver, int tcp, time_t now)
{
- int id, tc, rcode;
+ int tc, rcode;
+ unsigned short id;
struct query *query;
/* If there's no room in the answer for a header, we can't do much
static struct query* find_query_by_id(ares_channel channel, int id)
{
- int qid;
+ unsigned short qid;
struct query* q;
DNS_HEADER_SET_QID(((unsigned char*)&qid), id);