soc.2009.vulture: 4211186b: Fixed uninitialised variable causing cra...

gdick at soc.pidgin.im gdick at soc.pidgin.im
Wed Aug 5 16:55:41 EDT 2009


-----------------------------------------------------------------
Revision: 4211186b62791de2154bd1733db6453bdc230d95
Ancestor: 1bcc4e8a8a9704ed8fce7a0c72c3c55bf6f4bf36
Author: gdick at soc.pidgin.im
Date: 2009-08-05T20:50:44
Branch: im.pidgin.soc.2009.vulture
URL: http://d.pidgin.im/viewmtn/revision/info/4211186b62791de2154bd1733db6453bdc230d95

Modified files:
        vulture/purplebicon.c

ChangeLog: 

Fixed uninitialised variable causing crash when retrieving the buddy icon of
someone not on the buddy list.

-------------- next part --------------
============================================================
--- vulture/purplebicon.c	7c1d66b962c1c38a8c0bfcbc257b22a58eee7bcd
+++ vulture/purplebicon.c	ca36daa9e4113e6b14d4c907c8c1154f6f0eba7d
@@ -187,7 +187,7 @@ HBITMAP PurpleGetIMBuddyIcon(PurpleConve
 {
 	PurpleBuddy *lpbuddy;
 	PurpleContact *lpcontact;
-	PurpleStoredImage *lpstoredimg;
+	PurpleStoredImage *lpstoredimg = NULL;
 	gconstpointer lpvBuddyIconData = NULL;
 	size_t cbBuddyIconData;
 	PurpleBuddyIcon *lpbuddyicon = NULL;


More information about the Commits mailing list