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: unassignedb...@nondot.org
          Reporter: e...@efcs.ca
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to