Libsafe

Libsafe is a library project created by Avaya Labs, distributed under LGPL. This dynamic loaded library can handle and detect buffer overflow and format string attacks on "unsafe" glibc functions such as for example strcpy. Libsafe works transparently and it does not slow down system very much. The development of libsafe stopped some time ago and now it is not as useful as it used to be.

Short tutorial
It can be installed very easily. After downloading you have to just type make; make install inside the unpacked archive from root user. To preload it you have to add those lines: LD_PRELOAD=/lib/libsafe.so.2 export LD_PRELOAD to your .bashrc.