im.pidgin.pidgin: f16a51f390800324b7ff289f6a61a6e0b629d1c7
khc at pidgin.im
khc at pidgin.im
Thu Feb 28 23:25:43 EST 2008
-----------------------------------------------------------------
Revision: f16a51f390800324b7ff289f6a61a6e0b629d1c7
Ancestor: 4e43a1794e91a9aa8ffe294f4833a0be54d70758
Author: khc at pidgin.im
Date: 2008-02-29T04:23:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f16a51f390800324b7ff289f6a61a6e0b629d1c7
Modified files:
libpurple/protocols/msn/msnutils.c
libpurple/protocols/msnp9/msn-utils.c
ChangeLog:
Patch from Qulogic that fixes #4951 by making sure that the buffer is NUL-
terminated at the right place
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msnutils.c 10b96dd4da6fa65290b4ca3dcf04d4b8aed6c6fd
+++ libpurple/protocols/msn/msnutils.c 582be12970566a49fecf82a2f710c958774f9885
@@ -201,6 +201,7 @@ encode_spaces(const char *str)
else
*d++ = *c;
}
+ *d = '\0';
return buf;
}
============================================================
--- libpurple/protocols/msnp9/msn-utils.c ddcf0627c9bb68b8317f5ac2ce782b560d1f25fa
+++ libpurple/protocols/msnp9/msn-utils.c 9120b8b81344252188e5cf9ade632a7dc9e6b7da
@@ -163,6 +163,7 @@ encode_spaces(const char *str)
else
*d++ = *c;
}
+ *d = '\0';
return buf;
}
More information about the Commits
mailing list