> No no, the actual call to new is what's crashing
In which case, the problem is somewhere else.
Some other user of allocated memory is doing something wrong, say
- use after free
- double free
- buffer overrun (or underrun)
> No no, the actual call to new is what's crashing
In which case, the problem is somewhere else.
Some other user of allocated memory is doing something wrong, say
- use after free
- double free
- buffer overrun (or underrun)
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.