ld: Mention --enable-textrel-check=yes is default for Linux/x86 targets
[deliverable/binutils-gdb.git] / opcodes / ns32k-dis.c
index 12df182d0a442bec0f222741126739130f7dd4c1..ccad820d8f3366eb3864e3fb43ca639fd86ebc03 100644 (file)
@@ -738,7 +738,10 @@ print_insn_ns32k (bfd_vma memaddr, disassemble_info *info)
   unsigned short first_word;
   int ioffset;         /* Bits into instruction.  */
   int aoffset;         /* Bits into arguments.  */
-  char arg_bufs[MAX_ARGS+1][ARG_LEN];
+  /* The arg_bufs array is made static in order to avoid a potential
+     use of an uninitialised value if we are asekd to disassemble a
+     corrupt instruction.  */
+  static char arg_bufs[MAX_ARGS+1][ARG_LEN];
   int argnum;
   int maxarg;
   struct private priv;
This page took 0.023279 seconds and 4 git commands to generate.