bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/20902] New: AS:Assertion Violation when ignoring characters aft


From: boehme.marcel at gmail dot com
Subject: [Bug gas/20902] New: AS:Assertion Violation when ignoring characters after printing warning messages
Date: Fri, 02 Dec 2016 04:02:18 +0000

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

            Bug ID: 20902
           Summary: AS:Assertion Violation when ignoring characters after
                    printing warning messages
           Product: binutils
           Version: 2.28 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: boehme.marcel at gmail dot com
  Target Milestone: ---

Dear all,

The following bug was found with AFLFast, a fork of AFL, in a 24 hour fuzzing
session on Binutils. Thanks also to Van-Thuan Pham.

The assembler fails with an assertion violation for the following execution on
Ubuntu 16.04 x86_64 and 14.04 x86_64 for Binutils v2.26.1 and trunk. It works
fine for v2.24:

$ printf "#10\"\n\" " > test
$ ./as test
test: Assembler messages:
test:1: Warning: unterminated string; newline inserted
test:2: Warning: unterminated string; newline inserted
test:3: Internal error!
Assertion failure in ignore_rest_of_line at read.c:3758.
Please report this bug.

After printing a warning message, ignore_rest_of_line in read.c attempts to
skip to the end of line but finds itself no eol.

Best regards,
- Marcel

-- 
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]