]> git.0d.be Git - empathy.git/commit
Check we actually have a part #1 before requesting it
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Wed, 8 Jun 2011 02:54:41 +0000 (12:54 +1000)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Wed, 8 Jun 2011 12:00:49 +0000 (22:00 +1000)
commite5773f0b667fabbf0597ab2c3600164fc018c727
tree72285373a4e21736ac25e2fa6842aea96bef6373
parentf63939a4648a0ebd64a2ff1468a72036adadb581
Check we actually have a part #1 before requesting it

We were checking echo->len >= 1, but then requesting index 1 (the second part).
So if we didn't have a second part, this would quite happily blow up.
libempathy/empathy-tp-chat.c