Archive for the 'Unix' Category

Blackhat USA 2007 (Presentation Material)

mark August 7th, 2007

Hi!

Well, we just arrived home from Las Vegas on Sunday after delivering our talk at Blackhat about breaking C++ applications. It seemed to be received pretty well. For anyone interested, the slides should be available on their website, but we have also archived them here.

Enjoy!

More errata than sendmail

jm February 26th, 2007

A couple of interesting errata, courtesy of Herr Doktor Professor rCs:
Continue Reading »

Attacking delete and delete [] in C++

blog January 3rd, 2007

In C++, objects can be dynamically allocated at runtime using the new operator and deallocated using the delete operator. Arrays of objects, however, require the use of slightly different operators for allocation and deallocation: new [] and delete []. Although the corresponding pairs of operators look very similar in source code, the way they function is actually quite different. Consequently, they can’t be mixed and matched - allocating an array with new [] and then deallocating it with delete, for example, will produce "undefined" results. This can catch developers off-guard, because you can often use the wrong operator without triggering a compiler warning or even causing a run-time crash.
Continue Reading »