lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 7 Mar 2011 17:24:25 +0530
From:	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
To:	stable@...nel.org
Cc:	linux-kernel@...r.kernel.org, greg@...ah.com, anton@...ba.org,
	benh@...nel.crashing.org
Subject: [PATCH 6/7] powerpc/crashdump: Do not fail on NULL pointer
	dereferencing

    powerpc/crashdump: Do not fail on NULL pointer dereferencing

    Commit: 426b6cb478e60352a463a0d1ec75c1c9fab30b13 upstream

    Signed-off-by: Maxim Uvarov <muvarov@...il.com>
    Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
    Signed-off-by: Kamalesh babulal <kamalesh@...ux.vnet.ibm.com>
    cc: Anton Blanchard <anton@...ba.org>
---
 arch/powerpc/kernel/crash.c |    3 +++
 1 file changed, 3 insertions(+)

Index: b/arch/powerpc/kernel/crash.c
===================================================================
--- a/arch/powerpc/kernel/crash.c	2011-03-07 00:59:25.108253005 -0800
+++ b/arch/powerpc/kernel/crash.c	2011-03-07 01:01:07.004296733 -0800
@@ -378,6 +378,9 @@
	for_each_irq(i) {
		struct irq_desc *desc = irq_desc + i;

+		if (!desc || !desc->chip || !desc->chip->eoi)
+			continue;
+
		if (desc->status & IRQ_INPROGRESS)
			desc->chip->eoi(i);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ