File 0002-Fix-format-string-vulnerability.patch of Package kerneloops

From 45d9add57cb217c32e76b9801cbf7ae7a4268c55 Mon Sep 17 00:00:00 2001
From: Matt Zimmerman <mdz@canonical.com>
Date: Fri, 19 Sep 2008 16:08:00 +0100
Subject: [PATCH] Fix format string vulnerability

Signed-off-by: Matt Zimmerman <mdz@canonical.com>
---
 submit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/submit.c b/submit.c
index 13e1b75..6f1d8c0 100644
--- a/submit.c
+++ b/submit.c
@@ -135,7 +135,7 @@ void write_detail_file(void)
 	while (oops) {
 		count++; /* Users are not programmers, start at 1 */
 		fprintf(tmpf, "Kernel failure message %d:\n", count);
-		fprintf(tmpf, oops->text);
+		fprintf(tmpf, "%s", oops->text);
 		fprintf(tmpf, "\n\n");
 		oops = oops->next;
 	}
-- 
1.5.6