Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Gordon Malm (gengor)" <gengor@g.o>
Subject: gentoo-x86 commit in sys-apps/gradm/files: gradm-2.1.13.200902232204-fix-segfault-in-newlearn.patch
Date: Fri, 21 Aug 2009 18:56:27 +0000
gengor      09/08/21 18:56:27

  Added:               
                        gradm-2.1.13.200902232204-fix-segfault-in-newlearn.patch
  Log:
  Revision bump - fix bug #281512. Thanks to Matthew Thode for reporting and providing a patch.
  (Portage version: 2.1.6.13/cvs/Linux i686, RepoMan options: --force)

Revision  Changes    Path
1.1                  sys-apps/gradm/files/gradm-2.1.13.200902232204-fix-segfault-in-newlearn.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/gradm/files/gradm-2.1.13.200902232204-fix-segfault-in-newlearn.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/gradm/files/gradm-2.1.13.200902232204-fix-segfault-in-newlearn.patch?rev=1.1&content-type=text/plain

Index: gradm-2.1.13.200902232204-fix-segfault-in-newlearn.patch
===================================================================
Added-By: Gordon Malm <gengor@g.o>

Fix segmentation fault in gradm newlearn.

Reference:
http://bugs.gentoo.org/show_bug.cgi?id=281512
http://forums.grsecurity.net/viewtopic.php?f=3&t=2126

--- a/gradm_newlearn.c
+++ b/gradm_newlearn.c
@@ -1204,7 +1204,7 @@ show_ips:
 			display_ip_tree(connect, GR_IP_CONNECT, stream);
 		else
 			fprintf(stream, "\tconnect\tdisabled\n");
-		if (node->subject->inaddr_any_override) {
+		if (node->subject != NULL && node->subject->inaddr_any_override) {
 			struct in_addr addr;
 			addr.s_addr = node->subject->inaddr_any_override;
 			fprintf(stream, "\tip_override\t%s\n", inet_ntoa(addr));





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
emacs r1359 - gentoo-syntax
Next by thread:
gentoo-x86 commit in sys-apps/gradm: ChangeLog gradm-2.1.13.200902232204-r1.ebuild gradm-2.1.13.200902232204.ebuild
Previous by date:
emacs r1359 - gentoo-syntax
Next by date:
gentoo-x86 commit in sys-apps/gradm: ChangeLog gradm-2.1.13.200902232204-r1.ebuild gradm-2.1.13.200902232204.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.