Simplified terminating NUL behaviour.