Well, if padding length is zero there might be a construction of a zero-length buffer...