[llvm-bugs] [Bug 39355] New: [ASAN] detect_stack_use_after_return can hide "index {} out of bounds for type" error

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 19 05:59:22 PDT 2018


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

            Bug ID: 39355
           Summary: [ASAN] detect_stack_use_after_return can hide "index
                    {} out of bounds for type" error
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: asan
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

Very sadly  don't have a standalone reproducer,
but if detect_stack_use_after_return=1, then there is no asan report
(and sanitizer-less build crashes),
while if detect_stack_use_after_return=0, then there is an asan report.

I can provide full code with the problem if anyone is interested though.

-- 
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/20181019/832bf1b0/attachment.html>


More information about the llvm-bugs mailing list