Heap Overflow

A heap overflow is a type of buffer overflow that occurs in the heap data area. Heap overflows are exploitable in a different manner to that of stack-based overflows. Memory on the heap is dynamically allocated by the application at run-time and typically contains program data. Exploitation is performed by corrupting this data in specific ways to cause the application to overwrite internal structures such as linked list pointers. The canonical heap overflow technique overwrites dynamic memory allocation linkage (such as malloc meta data) and uses the resulting pointer exchange to overwrite a program function pointer.

Read more about Heap Overflow:  Consequences, Detection and Prevention

Famous quotes containing the words heap and/or overflow:

    We cannot be any stronger in our foreign policy—for all the bombs and guns we may heap up in our arsenals—than we are in the spirit which rules inside the country. Foreign policy, like a river, cannot rise above its source.
    Adlai Stevenson (1900–1965)

    Oh! that thy love might overflow my Heart!
    To fire the same with Love: for Love I would.
    But oh! my streight’ned Breast! my Lifeless Sparke!
    My Fireless Flame! What Chilly Love, and Cold?
    In measure small! In Manner Chilly! See!
    Lord, blow the Coal: Thy Love Enflame in mee.
    Edward Taylor (1645–1729)