Re: [PATCH] btrfs-progs: sanitize - Use correct source for memcpy

2017-01-23 Thread David Sterba
On Fri, Jan 20, 2017 at 01:03:33PM -0600, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > While performing a memcpy, we are copying from uninitialized dst > as opposed to src->data. Though using eb->len is correct, I used > src->len to make it more readable. > >

[PATCH] btrfs-progs: sanitize - Use correct source for memcpy

2017-01-20 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues While performing a memcpy, we are copying from uninitialized dst as opposed to src->data. Though using eb->len is correct, I used src->len to make it more readable. Signed-off-by: Goldwyn Rodrigues --- image/main.c | 2 +- 1 file