]> git.0d.be Git - empathy.git/commit
Fixes a segfault in empathy-individual-store.c
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>
Wed, 31 Aug 2011 16:28:35 +0000 (17:28 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 2 Sep 2011 13:17:33 +0000 (15:17 +0200)
commit01086a035fcf1b128bd9547219aa00c8768e0118
tree06a1af23c143d819d6d9c9521253747445a98799
parent96a577f74ee233951f6b61b0fb8b1bbe70a1e12e
Fixes a segfault in empathy-individual-store.c

When a contact cannot be obtained from an individual, icon_name and
contact will be NULL, leading to g_hash_table_lookup for a NULL-value,
segfaulting.

Although there's probably an underlying error somewhere, the NULL case
should be handled, being a valid return value for the method;

https://bugzilla.gnome.org/show_bug.cgi?id=657914
libempathy-gtk/empathy-individual-store.c