×

Methods and apparatus for detecting heap smashing

  • US 6,832,302 B1
  • Filed: 10/24/2001
  • Issued: 12/14/2004
  • Est. Priority Date: 10/24/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A method comprising:

  • intercepting a call from an executing program to a library function, wherein said function call requests writing of a data block to the heap section of a memory;

    determining whether performing said write request would smash the heap;

    executing an error handling procedure instead of writing the data block if performing said write request would smash the heap; and

    causing the data block to be written as requested if performing said write request would not smash the heap.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×