Mercurial > pidgin
comparison src/protocols/yahoo/yahoo_filexfer.c @ 13458:6e50059617d3
[gaim-migrate @ 15833]
Fix CID 18 (NULL dereference)
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 08 Mar 2006 04:23:37 +0000 |
parents | d6a799421657 |
children | d7b01bcfb031 |
comparison
equal
deleted
inserted
replaced
13457:1eed4ec0912d | 13458:6e50059617d3 |
---|---|
464 | 464 |
465 l = l->next; | 465 l = l->next; |
466 } | 466 } |
467 | 467 |
468 /* If this packet is an IMVIRONMENT, handle it accordingly */ | 468 /* If this packet is an IMVIRONMENT, handle it accordingly */ |
469 if(!strcmp(service, "IMVIRONMENT")) | 469 if(service != NULL && imv != NULL && !strcmp(service, "IMVIRONMENT")) |
470 { | 470 { |
471 /* Check for a Doodle packet and handle it accordingly */ | 471 /* Check for a Doodle packet and handle it accordingly */ |
472 if(!strcmp(imv, "doodle;11")) | 472 if(!strcmp(imv, "doodle;11")) |
473 yahoo_doodle_process(gc, me, from, command, message); | 473 yahoo_doodle_process(gc, me, from, command, message); |
474 | 474 |