check for buffer overflow in content filter stream