[llvm-bugs] [Bug 41395] New: __cxa_vec_new overflow the allocation size.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 5 09:47:16 PDT 2019


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

            Bug ID: 41395
           Summary: __cxa_vec_new overflow the allocation size.
           Product: libc++abi
           Version: 7.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric at efcs.ca
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 21737
  --> https://bugs.llvm.org/attachment.cgi?id=21737&action=edit
libstdcxx_test.cpp

__cxa_vec_new overflows during the calculation of the allocation size. It
should throw bad alloc instead.

Attached is the libstdc++ test case that caught this.

-- 
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/20190405/2025e8d5/attachment.html>


More information about the llvm-bugs mailing list