pidgin/purple-plugin-pack
Clone
Summary
Browse
Changes
Graph
some sanity checking in case someone is trying to kill an im message
org.guifications.plugins
2008-11-05, grim
a67c80ac8163
Parents
842de31f4722
Children
fb4513242cac
some sanity checking in case someone is trying to kill an im message
1 files changed, 4 insertions(+), 0 deletions(-)
+4
-0
irssi/textfmt.c
--- a/irssi/textfmt.c Tue Nov 04 23:08:01 2008 -0500
+++ b/irssi/textfmt.c Wed Nov 05 03:39:13 2008 -0500
@@ -54,6 +54,10 @@
#ifdef HAVE_REGEX_H
#define FORMAT(account, message) { \
+ if(!(message)) \
+ return FALSE; \
+ if(!(*(message))) \
+ return FALSE; \
if(!(account)) \
return FALSE; \
\