Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 281545
Collapse All | Expand All

(-)libpurple/protocols/msn/slplink.c (-1 / +2 lines)
Lines 441-446 msn_slplink_send_ack(MsnSlpLink *slplink Link Here
441
	slpmsg->info = "SLP ACK";
441
	slpmsg->info = "SLP ACK";
442
442
443
	msn_slplink_send_slpmsg(slplink, slpmsg);
443
	msn_slplink_send_slpmsg(slplink, slpmsg);
444
	msn_slpmsg_destroy(slpmsg);
444
}
445
}
445
446
446
static void
447
static void
Lines 578-584 msn_slplink_process_msg(MsnSlpLink *slpl Link Here
578
		/* fseek(slpmsg->fp, offset, SEEK_SET); */
579
		/* fseek(slpmsg->fp, offset, SEEK_SET); */
579
		len = fwrite(data, 1, len, slpmsg->fp);
580
		len = fwrite(data, 1, len, slpmsg->fp);
580
	}
581
	}
581
	else if (slpmsg->size)
582
	else if (slpmsg->size && slpmsg->buffer)
582
	{
583
	{
583
		if (G_MAXSIZE - len < offset || (offset + len) > slpmsg->size)
584
		if (G_MAXSIZE - len < offset || (offset + len) > slpmsg->size)
584
		{
585
		{

Return to bug 281545