qulogic/pidgin
Clone
Summary
Browse
Changes
Graph
Fix possible NULL dereference
2014-04-13, Tomasz Wasilczyk
82fdaf2769b5
Parents
56e1ef289cbb
Children
b5d03ca6a680
93a7252bf87c
Fix possible NULL dereference
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
pidgin/gtkconv.c
--- 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;
}