3 ms·
What's NullPointerException if not a buffer overflow?
What's NullPointerException if not a buffer overflow?
Its not a buffer overflow.
Its more like a software interrupt that prevents the bytes in memory being read or executed. That's a level of safety over what you get in C, where a buffer overflow can lead to remote code execution or data leakage.