Validate against null characters