Lably
Skip to content

Memory safety

State of being protected from memory access bugs

  • 7 min read
  • 4 chapters

Related on Lably

Through Java (programming language), Computer security and Google

History

Memory errors were first considered in the context of resource management and time-sharing systems, in an effort to avoid problems such as fork bombs. Developments were mostly theoretical until the Morris worm, which exploited a buffer overflow in fingerd. The field of computer security developed quickly thereafter, escalating with multitudes of new attacks such as the return-to-libc attack and defense techniques such as the non-executable stack and address space layout randomization. Randomization prevents most buffer overflow attacks and requires the attacker to use heap spraying or other application-dependent methods to obtain addresses, although its adoption has been slow. However, deployments of the technology are typically limited to randomizing libraries and the location of the stack.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication