pidgin: d7c39222: Fix stack smashing for forced old (port ...

sadrul at pidgin.im sadrul at pidgin.im
Sat May 31 21:35:38 EDT 2008


-----------------------------------------------------------------
Revision: d7c39222c546f6465ca80cf5a249d8a4d0ceb8d3
Ancestor: b687754dfefde18bbb1a2652261943517272a691
Author: Andrew Hoffman
Date: 2008-06-01T01:34:34
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d7c39222c546f6465ca80cf5a249d8a4d0ceb8d3

Modified files:
        COPYRIGHT libpurple/protocols/jabber/auth.c

ChangeLog: 

Fix stack smashing for forced old (port 5223) ssl auth. Closes #5974.

-------------- next part --------------
============================================================
--- COPYRIGHT	9a6fd33b130c1c190ccbd5a1bdf56c6c8c618c99
+++ COPYRIGHT	6cb045cac3306bb2d1d4b600a7482996c66a5fc5
@@ -178,6 +178,7 @@ Casey Ho
 hjheins
 Hil
 Casey Ho
+Andrew Hoffman
 Iain Holmes
 Joshua Honeycutt
 Nigel Horne
============================================================
--- libpurple/protocols/jabber/auth.c	6f8016a37a60e2225474bb832132cc9ace0e2413
+++ libpurple/protocols/jabber/auth.c	32d3245ad8a4a5a88a6b2c0505683f64021ae674
@@ -706,7 +706,7 @@ static void auth_old_cb(JabberStream *js
 		} else if(js->stream_id && xmlnode_get_child(query, "crammd5")) {
 			const char *challenge;
 			guchar digest[16];
-			char h[17], *p;
+			char h[33], *p;
 			int i;
 
 			challenge = xmlnode_get_attrib(xmlnode_get_child(query, "crammd5"), "challenge");


More information about the Commits mailing list