https://bugs.llvm.org/show_bug.cgi?id=33485

            Bug ID: 33485
           Summary: use-after-free or Assertion `Tok.is(tok::eof) &&
                    Tok.getEofData() == AttrEnd.getEofDat a()'.
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: k...@google.com
                CC: llvm-bugs@lists.llvm.org

r305508, x86_64 linux. 

echo Y2Fzc/9Ge2M8KEYoKEazRig7OykpKSko | base64 -d  | clang -x c++ - 

tools/clang/lib/Parse/ParseExprCXX.cpp:3173: ExprResult
clang::Parser::ParseCXXAmbiguousParenExpression(clang::Parser::ParenParseOpt
ion &, ParsedType &, clang::BalancedDelimiterTracker &,
clang::ColonProtectionRAIIObject &): Assertion `Tok.is(tok::eof) &&
Tok.getEofData() == AttrEnd.getEofData()' failed.

in a no-assert build this manifests as 20-byte read-heap-use-after-free in
clang::TokenLexer::Lex(clang::Token&) 

found by clang-fuzzer

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to