[LLVMbugs] [Bug 21959] New: [fuzz, binary] UNREACHABLE executed at tools/clang/lib/Sema/SemaTemplate.cpp:516

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 18 04:58:11 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21959

            Bug ID: 21959
           Summary: [fuzz, binary] UNREACHABLE executed at
                    tools/clang/lib/Sema/SemaTemplate.cpp:516
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sami.liedes at iki.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13570
  --> http://llvm.org/bugs/attachment.cgi?id=13570&action=edit
test case

Fuzzing discovered that the attached test case, which contains unprintable
characters, when given as input to

  clang -fno-crash-diagnostics -std=c++11 -xc++ -ferror-limit=2 -c -emit-llvm

causes UNREACHABLE to be executed.

Note that the -ferror-limit seems to be necessary; for example, with values of
2 or 5 UNREACHABLE is executed, but with the default error limit not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141218/dac9628f/attachment.html>


More information about the llvm-bugs mailing list