Subject: Re: get_iphlpapi_dns_info recode (Was: A Windows handle leak in ares_init)

Re: get_iphlpapi_dns_info recode (Was: A Windows handle leak in ares_init)

From: codemastr <codemstr_at_ptd.net>
Date: 2005-07-03

After reading about the handle leak, I started looking at this function and
I think it *really* needs a recode. If you look at it you'll see that it
violates many C style principles (use of goto, not checking whether
non-standard functions exist, using negative array subscripts, etc.)

Anyone else agree?

Dominick Meglio

_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Sun Jul 3 19:21:53 2005