[PATCH] klogd core

From: Sean Young <sean_at_mess.org>
Date: Fri, 4 Jul 2008 14:01:21 +0000

With /proc/kallsyms disabled in the kernel, klogd crashes. fclose(NULL) is
executed.

Sean

-- 
--- ksym_mod.c.orig	2008-07-04 14:43:39.000000000 +0100
+++ ksym_mod.c	2008-07-04 14:43:48.000000000 +0100
@@ -189,7 +189,6 @@
 		else
 			Syslog(LOG_ERR, "Error loading kernel symbols " \
 			       "- %s\n", strerror(errno));
-		fclose(ksyms);
 		return(0);
 	}
 
Received on Fri Jul 04 2008 - 16:01:21 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 04 2008 - 16:01:29 CEST