summaryrefslogtreecommitdiff
path: root/extra/elfutils/patches/fix-uninitialized.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/elfutils/patches/fix-uninitialized.patch')
-rw-r--r--extra/elfutils/patches/fix-uninitialized.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/elfutils/patches/fix-uninitialized.patch b/extra/elfutils/patches/fix-uninitialized.patch
new file mode 100644
index 0000000..31ecd9e
--- /dev/null
+++ b/extra/elfutils/patches/fix-uninitialized.patch
@@ -0,0 +1,17 @@
+
+--- a/libcpu/i386_disasm.c 2015-08-21 14:22:37.000000000 +0200
++++ b/libcpu/i386_disasm.c 2015-11-20 06:30:59.250629957 +0100
+@@ -1,4 +1,4 @@
+-/* Disassembler for x86.
++/* Disassembler for x86.
+ Copyright (C) 2007, 2008, 2009, 2011 Red Hat, Inc.
+ This file is part of elfutils.
+ Written by Ulrich Drepper <drepper@redhat.com>, 2007.
+@@ -710,6 +710,7 @@
+
+ case 'm':
+ /* Mnemonic. */
++ str = mnebuf;
+
+ if (unlikely (instrtab[cnt].mnemonic == MNE_INVALID))
+ {