Many overflows occur when the program receives more data than it expects . The types of overflows are
- Stack overflows .
- Integer overflows.
- Heap overruns.
- Format string attacks.
- Stack overflows : occur when variable size data is copied into fixed length buffers located on the program stack without any bounds checking.
- Integer overflows: Integer overflows occur when a specific data type or CPU register meant to hold values within a certain range is assigned a value outside that range.
- Heap overruns: Heap overrun occurs when data is written on outside of the space(Heap)
- Format string attacks :Format string attacks occur when the %n parameter of the format string is used to write data outside the target buffer
No comments:
Post a Comment