Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Memory corruption
happens when the contents of a memory location are unintentionally
modified due to programming errors. When the corrupted memory contents
are used later in the computer program, it leads either to program crash
or to strange and bizarre program behavior. Nearly 10% of application
crashes on Windows systems are due to heap corruption. Modern
programming languages like C and C++ have powerful features of explicit
memory management and pointer arithmetic. These features are designed
for developing efficient applications and system software. However,
using these features incorrectly may lead to memory corruption errors.