update xchat to r1503

This commit is contained in:
Berke Viktor committed 2012-03-15 23:58:52 +01:00
1 parent 605c3dea36
commit 1012be5efb
9 files changed
+99 -13

No files matched your search

+2
View File
@@ -1156,6 +1156,8 @@ irc_inline (server *serv, char *buf, int len)
char pdibuf_static[522]; /* 1 line can potentially be 512*6 in utf8 */
char *pdibuf = pdibuf_static;
url_check_line (buf, len);
/* need more than 522? fall back to malloc */
if (len >= sizeof (pdibuf_static))
pdibuf = malloc (len + 1);