On 27/03/14 15:20, Elie Roudninski wrote:

I wonder why you would move more data than what's left in the buffer ?
As i understand the situation, there is buffer->length-(offset+len)
bytes left, my question is, why not do this :
memmove(buffer->data + offset, buffer->data + offset + len,
buffer->length - (offset + len));

Thank you Elie, you are correct.  A fix has been commited.

Cheers,


Reply via email to