Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__cxa_vec_new overflow the allocation size. #40740

Closed
llvmbot opened this issue Apr 5, 2019 · 1 comment
Closed

__cxa_vec_new overflow the allocation size. #40740

llvmbot opened this issue Apr 5, 2019 · 1 comment
Labels
bugzilla Issues migrated from bugzilla libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@llvmbot
Copy link
Member

llvmbot commented Apr 5, 2019

Bugzilla Link 41395
Resolution FIXED
Resolved on Apr 05, 2019 13:39
Version 7.0
OS All
Attachments libstdcxx_test.cpp
Reporter LLVM Bugzilla Contributor
CC @mclow

Extended Description

__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.

@llvmbot
Copy link
Member Author

llvmbot commented Apr 5, 2019

Fixed in r357814.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

No branches or pull requests

1 participant