[linux-audio-dev] A C++ question

Lukas Degener AFBLukas at gmx.de
Thu Apr 17 20:13:29 UTC 2003


Nick Tsocanos wrote:

>So, is it possible to smash the vtable of a class? I can't imagine all
>compilers have the same quirk, because I have seen this problem on half
>a dozen compilers. Usually it is in classes where I am doing heavy
>memory management. My guess is that the vtable can be corrupted somehow
>by a smash.
>
I think this possible, as it is possible to overwrite the stack data of 
a running function, including its return adress, etc. without cousing a 
segfault.

Can you provide a minimal code fragment that demonstrates your problem?
This should make it possible to see what exactly goes wrong.


Regards,
Lukas





More information about the Linux-audio-dev mailing list