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:	Thu, 12 Feb 2009 14:05:28 +0100
From:	Roel Kluin <roel.kluin@...il.com>
To:	David Howells <dhowells@...hat.com>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH] frv: duplicate output_buffer of E03

In the case of an error, output_buffer gets an E0X value. E03 was set in two
different error conditions while E02 was missing, this occurred in two sections.

Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
diff --git a/arch/frv/kernel/gdb-stub.c b/arch/frv/kernel/gdb-stub.c
index 7ca8a6b..4411c24 100644
--- a/arch/frv/kernel/gdb-stub.c
+++ b/arch/frv/kernel/gdb-stub.c
@@ -1880,7 +1880,7 @@ void gdbstub(int sigval)
 			}
 
 			if (temp >= 5) {
-				gdbstub_strcpy(output_buffer,"E03");
+				gdbstub_strcpy(output_buffer,"E02");
 				break;
 			}
 
@@ -1908,7 +1908,7 @@ void gdbstub(int sigval)
 			}
 
 			if (temp >= 5) {
-				gdbstub_strcpy(output_buffer,"E03");
+				gdbstub_strcpy(output_buffer,"E02");
 				break;
 			}
 
--
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