comparison libpurple/protocols/irc/parse.c @ 31820:d2eb28c12d44

Fix a crash when remote users have certain characters in their nicknames. (Discovered by Djego Ibanez) Fixes #14341
author Mark Doliner <mark@kingant.net>
date Thu, 18 Aug 2011 08:41:24 +0000
parents 958621e23f5d
children a5b556ac1de5 062f5781aa57
comparison
equal deleted inserted replaced
31819:70ff869a74d1 31820:d2eb28c12d44
72 { "323", ":", irc_msg_list }, /* End of list. */ 72 { "323", ":", irc_msg_list }, /* End of list. */
73 { "324", "ncv:", irc_msg_chanmode }, /* Channel modes */ 73 { "324", "ncv:", irc_msg_chanmode }, /* Channel modes */
74 { "331", "nc:", irc_msg_topic }, /* No channel topic */ 74 { "331", "nc:", irc_msg_topic }, /* No channel topic */
75 { "332", "nc:", irc_msg_topic }, /* Channel topic */ 75 { "332", "nc:", irc_msg_topic }, /* Channel topic */
76 { "333", "*", irc_msg_ignore }, /* Topic setter stuff */ 76 { "333", "*", irc_msg_ignore }, /* Topic setter stuff */
77 { "352", "nvcvnvvv:", irc_msg_who },/* Channel WHO */ 77 { "352", "ncvvvnv:", irc_msg_who }, /* Channel WHO */
78 { "353", "nvc:", irc_msg_names }, /* Names list */ 78 { "353", "nvc:", irc_msg_names }, /* Names list */
79 { "366", "nc:", irc_msg_names }, /* End of names */ 79 { "366", "nc:", irc_msg_names }, /* End of names */
80 { "367", "ncnnv", irc_msg_ban }, /* Ban list */ 80 { "367", "ncnnv", irc_msg_ban }, /* Ban list */
81 { "368", "nc:", irc_msg_ban }, /* End of ban list */ 81 { "368", "nc:", irc_msg_ban }, /* End of ban list */
82 { "372", "n:", irc_msg_motd }, /* MOTD */ 82 { "372", "n:", irc_msg_motd }, /* MOTD */