[sheepdog] [PATCH] sheep: add a helper function to copy out data from strbuf

Liu Yuan namei.unix at gmail.com
Thu May 24 06:09:01 CEST 2012


On 05/21/2012 12:43 AM, MORITA Kazutaka wrote:

> I just wrapped memcpy with strbuf_copyout, and the original code has
> the problem of buffer overflow.  But I should have added the third
> argument to strbuf_copyout() to notify the size of the destination
> buffer.


is there any new version for this fix? I am okay with current patch though.

Thanks,
Yuan



More information about the sheepdog mailing list