Check for buffer overflows