bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/20657] New: buglet in putop() in opcodes/i386-dis.c


From: tromey at sourceware dot org
Subject: [Bug binutils/20657] New: buglet in putop() in opcodes/i386-dis.c
Date: Thu, 29 Sep 2016 22:02:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20657

            Bug ID: 20657
           Summary: buglet in putop() in opcodes/i386-dis.c
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

This comes from bug 20613 and http://www.viva64.com/en/b/0430/

Here:

        case '{':
          alt = 0;
          if (intel_syntax)
            {
              while (*++p != '|')
                if (*p == '}' || *p == '\0')
                  abort ();
            }
          /* Fall through.  */
        case 'I':
          alt = 1;
          continue;

Either "alt" is assigned twice in succession (in which case the
first assignment could be moved into the "if"), or else the fall-through
is incorrect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]