]> git.0d.be Git - empathy.git/commit
Don't crash when the buffer has length 0
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Mon, 7 Nov 2011 04:45:40 +0000 (15:45 +1100)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Mon, 7 Nov 2011 04:45:40 +0000 (15:45 +1100)
commitaf1731d30620e7bd4aaa098af02adc3c71cb30f9
tree48af207e887245bf9fabb0d533b45e31ee7bcb66
parent7c0dff773920a0796e079d5c79165a12fc7e8ddd
Don't crash when the buffer has length 0

Unexpectedly, a 0 length buffer causes gdk_pixbuf_loader_write() to return
FALSE without setting @error. Would then segv on error->message.
libempathy-gtk/empathy-ui-utils.c