From: Tim R. <ma...@us...> - 2004-11-25 18:35:36
|
Update of /cvsroot/gaim/gaim/src/protocols/yahoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29573/src/protocols/yahoo Modified Files: yahoo_filexfer.c Log Message: This should fix segfault bug 1072604. Oops. Index: yahoo_filexfer.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo_filexfer.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -p -r1.14 -r1.15 --- yahoo_filexfer.c 18 Oct 2004 05:22:21 -0000 1.14 +++ yahoo_filexfer.c 25 Nov 2004 18:35:26 -0000 1.15 @@ -391,7 +391,7 @@ void yahoo_process_filetransfer(GaimConn } if (pkt->service == YAHOO_SERVICE_P2PFILEXFER) { - if (strcmp("FILEXFER", service) != 0) { + if (service && (strcmp("FILEXFER", service) != 0)) { gaim_debug_misc("yahoo", "unhandled service 0x%02x", pkt->service); return; } |