Treat NULL size as 0.