-1 is not the correct value to represent NO_BUFFER