qulogic/pidgin

Fix possible NULL dereference

2014-04-13, Tomasz Wasilczyk
82fdaf2769b5
Fix possible NULL dereference
--- a/pidgin/gtkconv.c Sun Apr 13 02:14:49 2014 +0200
+++ b/pidgin/gtkconv.c Sun Apr 13 02:17:31 2014 +0200
@@ -6646,7 +6646,7 @@
end[0] = '\0';
else
alt = NULL;
- if (alt[0] == '\0')
+ if (alt && alt[0] == '\0')
alt = NULL;
}