AddressSanitizer is a tool for finding memory bugs, like writing beyond allocations, which is included in recent versions of Clang.
http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer
The main advantage of AddressSanitizer over other tools like Valgrind is that its faster so builds that include it can be used as normal.
New Linux distributions like Ubuntu 13.04 include Clang 3.2 so allow use of AddressSanitizer. I've updated the make files for Scintilla and SciTE to use AddressSanitizer for Clang debug builds (make CLANG=1 DEBUG=1). No new bugs have been found yet but I suspect there may be bugs in lexers I don't use.
Neil