Buffer overflow protection.