Skip to content
Snippets Groups Projects
  1. Apr 18, 2019
  2. Jan 22, 2018
    • Max Filippov's avatar
      target/xtensa: disas/xtensa: fix coverity warnings · 847a6473
      Max Filippov authored
      
      Coverity warnings CID 1385146, 1385148 1385149 and 1385150 point that
      xtensa_opcode_num_operands and xtensa_format_num_slots may return -1
      even when xtensa_opcode_decode and xtensa_format_decode succeed. In that
      case unsigned counters used to iterate through operands/slots will not
      do the right thing.
      Make counters and loop bounds signed to fix the warnings.
      
      Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
      847a6473
  3. Jan 09, 2018
Loading