[llvm-bugs] [Bug 49319] New: FileCheck Crash with Malformed Regex

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 22 12:29:36 PST 2021


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

            Bug ID: 49319
           Summary: FileCheck Crash with Malformed Regex
           Product: Test Suite
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: nadiasggeb001 at gmail.com
                CC: daniel at zuster.org, llvm-bugs at lists.llvm.org

Tested on LLVM with the most recent commit:
a08e609d2eac7737bfc14cd4ee35b2cabe1238b6.

Given the following "check.mlir"

```
// CHECK: [[a:*]]
```

Running with

```
./bin/FileCheck ../check.mlir
```

I expect to see FileCheck emit an error about invalid regex or wait for input
on stdin, but instead I see the attached segmentation fault and subsequent
stack trace.

-- 
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/20210222/7d0c05fe/attachment-0001.html>


More information about the llvm-bugs mailing list