Methods and apparatus for detecting heap smashing

   
   

A method and apparatus for detecting a heap smashing condition. A call to a library function, such as a request to write a data block to the heap section of a memory, is intercepted from a program being executed. In an embodiment, a fault-containment wrapper module determines whether performing the write request would smash the heap. If it would smash the heap, an error handling procedure is executed instead of writing the data block. If it would not smash the heap, the fault-containment wrapper module causes the data block to be written to the memory as requested.

 
Web www.patentalert.com

< Spread spectrum system assigning information signals to message-code signals

< Measuring network performance parameters in data communication networks

> Server system operation control method

> Interleaved n-way set-associative external cache

~ 00150