pidgin: 5fc198b7: Shut up valgrind ("unitialized bytes(s)....
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Tue Oct 13 13:32:42 EDT 2009
-----------------------------------------------------------------
Revision: 5fc198b7a02aacaaa8a7045d9df437c2d0e9006b
Ancestor: 6e9635c3ba3bcf4c52a06761f5345ba29250f64f
Author: darkrain42 at pidgin.im
Date: 2009-10-13T17:24:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5fc198b7a02aacaaa8a7045d9df437c2d0e9006b
Modified files:
ChangeLog libpurple/dnssrv.c
ChangeLog:
Shut up valgrind ("unitialized bytes(s)...") and changelog.
-------------- next part --------------
============================================================
--- ChangeLog 721beef75bff88db44c283ae6056838c88bbe5c9
+++ ChangeLog b2a160d610d2a68608c1870889ccf9d29264cf68
@@ -23,6 +23,7 @@ version 2.6.3 (??/??/20??):
* Fix a crash when performing DNS queries on Unixes that use the
blocking DNS lookups. (Brian Lu)
* Fix building the GnuTLS plugin with older versions of GnuTLS.
+ * Fix DNS TXT query resolution.
Finch:
* The TinyURL plugin now creates shorter URLs for long non-conversation
============================================================
--- libpurple/dnssrv.c 47097649babdb579e6a983f359361b0f643c7b4c
+++ libpurple/dnssrv.c fffab36e14868796e7e243510448d448362d09c1
@@ -809,6 +809,7 @@ PurpleSrvQueryData *purple_txt_resolve(c
internal_query.type = T_TXT;
strncpy(internal_query.query, query, 255);
+ internal_query.query[255] = '\0';
if (write(in[1], &internal_query, sizeof(internal_query)) < 0)
purple_debug_error("dnssrv", "Could not write to TXT resolver\n");
More information about the Commits
mailing list