summaryrefslogtreecommitdiff
path: root/repo/elfutils/fix-uninitialized.patch
blob: 31ecd9ee58dc738df1c5f6b2d2988ba942753172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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))
 		    {