diff options
author | Yang Tse <yangsita@gmail.com> | 2009-10-30 16:21:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-10-30 16:21:56 +0000 |
commit | cef06973a24cc728d2903a63034f5524a95d6ba3 (patch) | |
tree | a9873e37bb5cb7fd2ee4f8a381edf95ab61fe4a0 /Makefile.inc | |
parent | de48a86cf62bc67edafc5ebf37484cb68f14dd55 (diff) | |
download | c-ares-cef06973a24cc728d2903a63034f5524a95d6ba3.tar.gz c-ares-cef06973a24cc728d2903a63034f5524a95d6ba3.tar.bz2 c-ares-cef06973a24cc728d2903a63034f5524a95d6ba3.zip |
In no particular order, changed/fixed all of the following in
ares_parse_txt_reply() current version:
- Fixed a couple of potential double free's.
- Fixed memory leaks upon out of memory condition.
- Fixed pointer arithmetic.
- Setting ntxtreply to zero upon entry for all failure cases.
- Changed data type to size_t for variables substr_len, str_len and
the length member of ares_txt_reply struct.
- Avoided a couple of memcpy() calls.
- Changed i data type to unsigned int to prevent compiler warnings.
- Adjusted a comment.
- Use ARES_SUCCESS literal for successfull completion.
- Added CVS Id tag.
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 1fe1129..e383ebb 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -24,7 +24,6 @@ CSOURCES = ares__close_sockets.c \ ares_parse_ptr_reply.c \ ares_parse_srv_reply.c \ ares_parse_txt_reply.c \ - ares_free_txt_reply.c \ ares_process.c \ ares_query.c \ ares_search.c \ @@ -83,6 +82,7 @@ MANPAGES = ares_cancel.3 \ ares_parse_ns_reply.3 \ ares_parse_ptr_reply.3 \ ares_parse_srv_reply.3 \ + ares_parse_txt_reply.3 \ ares_process.3 \ ares_query.3 \ ares_save_options.3 \ @@ -117,6 +117,7 @@ HTMLPAGES = ares_cancel.html \ ares_parse_ns_reply.html \ ares_parse_ptr_reply.html \ ares_parse_srv_reply.html \ + ares_parse_txt_reply.html \ ares_process.html \ ares_query.html \ ares_save_options.html \ @@ -151,6 +152,7 @@ PDFPAGES = ares_cancel.pdf \ ares_parse_ns_reply.pdf \ ares_parse_ptr_reply.pdf \ ares_parse_srv_reply.pdf \ + ares_parse_txt_reply.pdf \ ares_process.pdf \ ares_query.pdf \ ares_save_options.pdf \ |