J
John Black
Hi,
I have a code like this structure,
try{
.. some function call...
}
catch (...){
return NULL;
}
during those function calls, the code has a bug which calls STL
vector erase() to delete a NULL pointer, but the problem is catch(...)
does not catch the error, instead I get a segment fault.
What is the problem?
I have a code like this structure,
try{
.. some function call...
}
catch (...){
return NULL;
}
during those function calls, the code has a bug which calls STL
vector erase() to delete a NULL pointer, but the problem is catch(...)
does not catch the error, instead I get a segment fault.
What is the problem?