Ensure *valuep always written by extract_normal return
[deliverable/binutils-gdb.git] / opcodes / mt-ibld.c
index 92dc6bc49f5090f91363dddd555d74f39558ec23..53a0775f7af1d37e5e9a941bbfb7c2f662dbf368 100644 (file)
@@ -480,7 +480,10 @@ extract_normal (CGEN_CPU_DESC cd,
        abort ();
 
       if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0)
-       return 0;
+       {
+         *valuep = 0;
+         return 0;
+       }
 
       value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc);
     }
This page took 0.026347 seconds and 4 git commands to generate.