# HG changeset patch # User Daniel Atallah # Date 1141791817 0 # Node ID 6e50059617d35f1bdc7df59dc9cdeef83288a9d2 # Parent 1eed4ec0912d792545e8c42fdbf6aa4d09305249 [gaim-migrate @ 15833] Fix CID 18 (NULL dereference) committer: Tailor Script diff -r 1eed4ec0912d -r 6e50059617d3 src/protocols/yahoo/yahoo_filexfer.c --- a/src/protocols/yahoo/yahoo_filexfer.c Wed Mar 08 04:11:44 2006 +0000 +++ b/src/protocols/yahoo/yahoo_filexfer.c Wed Mar 08 04:23:37 2006 +0000 @@ -466,7 +466,7 @@ } /* If this packet is an IMVIRONMENT, handle it accordingly */ - if(!strcmp(service, "IMVIRONMENT")) + if(service != NULL && imv != NULL && !strcmp(service, "IMVIRONMENT")) { /* Check for a Doodle packet and handle it accordingly */ if(!strcmp(imv, "doodle;11"))