tags 583591 + patch
thanks

Fix is attached.

Sebastian
>From b1adf475292299d69155367a0e45597693e0c193 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Date: Thu, 12 Aug 2010 22:14:18 +0200
Subject: [PATCH] add patch

Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
---
 debian/patches/03_fix_583591.patch |   39 ++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/03_fix_583591.patch

diff --git a/debian/patches/03_fix_583591.patch 
b/debian/patches/03_fix_583591.patch
new file mode 100644
index 0000000..a62b370
--- /dev/null
+++ b/debian/patches/03_fix_583591.patch
@@ -0,0 +1,39 @@
+From 15784e96d57570f20d5c1f5ad3ecd24074667838 Mon Sep 17 00:00:00 2001
+From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
+Date: Thu, 12 Aug 2010 22:11:37 +0200
+Subject: [PATCH] Increase array size
+
+| powerpc-linux-gnuspe-gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.18/gas
+| -I. -D_GNU_SOURCE -I. -I../../binutils-2.18/gas -I../bfd
+| -I../../binutils-2.18/gas/config -I../../binutils-2.18/gas/../include
+| -I../../binutils-2.18/gas/.. -I../../binutils-2.18/gas/../bfd
+| -DLOCALEDIR="\"/usr/share/locale\""   -W -Wall -Wstrict-prototypes
+| -Wmissing-prototypes -Werror -g -O2 -c
+| ../../binutils-2.18/gas/config/tc-m68hc11.c
+| cc1: warnings being treated as errors
+| ../../binutils-2.18/gas/config/tc-m68hc11.c: In function 'md_assemble':
+| ../../binutils-2.18/gas/config/tc-m68hc11.c:2477: error: array subscript
+| is above array bounds
+| make[5]: *** [tc-m68hc11.o] Error 1
+
+Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
+---
+ binutils-2.18/gas/config/tc-m68hc11.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/binutils-2.18/gas/config/tc-m68hc11.c 
b/binutils-2.18/gas/config/tc-m68hc11.c
+index dcd1ce6..27ae205 100644
+--- binutils-2.18/gas/config/tc-m68hc11.c
++++ binutils-2.18/gas/config/tc-m68hc11.c
+@@ -2454,7 +2454,7 @@ md_assemble (char *str)
+ 
+   unsigned char *op_start, *op_end;
+   char *save;
+-  char name[20];
++  char name[21];
+   int nlen = 0;
+   operand operands[M6811_MAX_OPERANDS];
+   int nb_operands = 0;
+-- 
+1.7.1
+
-- 
1.7.1

Reply via email to