[Psi-devel] Crasher in iris/xmpp-im/xmpp_vcard.cpp - image2type()
Remko Troncon
remko at el-tramo.be
Wed Jun 7 13:53:16 PDT 2006
On Mon, May 15, 2006 at 12:39:00PM -0700, Iain MacDonnell wrote:
> Just encountered a nasty little crasher bug in Psi 0.10 - for some
> reason, a couple of my users are now being presented with a VCard that
> has either a photo or a logo in it, but QImageIO::imageFormat() doesn't
> recognise the type, and so it returns 0 in image2type() in
> iris/xmpp-im/xmpp_vcard.cpp. This results in a seg-fault when it's sent
> to qWarning():
Odd, you would expect a null string to not cause any trouble. Maybe it
doesn't anymore in Qt4. Anyhow, it doesn't hurt to show "Unknown" if
the format is unknown, so i went ahead and fixed it.
Thanks for spotting it !
cheers,
Remko
More information about the psi-devel
mailing list