Groups
Groups
Sign in
Groups
Groups
address-sanitizer
Conversations
About
Send feedback
Help
How can operator new to throw std::bad_alloc upon allocation failure?
18 views
Skip to first unread message
xfan
unread,
Jun 21, 2019, 5:03:49 PM
6/21/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to address-sanitizer
My code actually has the catch block. But with address sanitizer, it crashed instead of going to the catch block.
Seems it is in the TODO list
https://github.com/google/sanitizers/issues/295
Is there a way to solve it now?
I am using RedHat Linux, gcc 8.3. Thanks!
Xingyan
Reply all
Reply to author
Forward
0 new messages