public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-irc/irssi/files: irssi-0.8.12-svn-4627.patch
@ 2008-01-20 23:09 Sven Wegener (swegener)
  0 siblings, 0 replies; only message in thread
From: Sven Wegener (swegener) @ 2008-01-20 23:09 UTC (permalink / raw
  To: gentoo-commits

swegener    08/01/20 23:09:40

  Added:                irssi-0.8.12-svn-4627.patch
  Log:
  Include a patch from upstream to fix a rare segmentation fault, notification by Phil Sutter via mail.
  (Portage version: 2.1.4)

Revision  Changes    Path
1.1                  net-irc/irssi/files/irssi-0.8.12-svn-4627.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/irssi/files/irssi-0.8.12-svn-4627.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/irssi/files/irssi-0.8.12-svn-4627.patch?rev=1.1&content-type=text/plain

Index: irssi-0.8.12-svn-4627.patch
===================================================================
r4627 | exg | 2007-10-22 13:27:56 +0000 (Mon, 22 Oct 2007) | 3 lines

Handle server == NULL case in skip_target, fix regression with irssi-icb.
Patch by Stuart Henderson, bug #539.

Index: trunk/src/fe-common/irc/fe-irc-messages.c
===================================================================
--- trunk/src/fe-common/irc/fe-irc-messages.c	(revision 4626)
+++ trunk/src/fe-common/irc/fe-irc-messages.c	(revision 4627)
@@ -44,7 +44,7 @@
 	const char *val, *chars;
 
 	/* Quick check */
-	if (server->prefix[(int)(unsigned char)*target] == 0)
+	if (server == NULL || server->prefix[(int)(unsigned char)*target] == 0)
 		return target;
 
 	/* Hack: for bahamut 1.4 which sends neither STATUSMSG nor



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-20 23:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-20 23:09 [gentoo-commits] gentoo-x86 commit in net-irc/irssi/files: irssi-0.8.12-svn-4627.patch Sven Wegener (swegener)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox