Fix LP#1883169 by using growing_buffer