On Wed, Apr 21, 2021 at 04:11:15PM +0200, Hans de Goede wrote: > This should fix that however, while sticking with simple_write_to_buffer(): I really want to get rid of the simple_write_to_buffer(). Using it would make sense if we wanted the user to be able to seek to the middle of buf[] but that would just be an info leak. regards, dan carpenter