commit | 5b06215ee2858d5cb1853337654f46a0e209ca94 | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Thu Jul 31 23:00:35 2014 -0400 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:36 2020 +0200 |
tree | b27c667b338f0a9849bc6e963e2320676475a662 | |
parent | 8724cc261407c22342dc8664a66ad6a2c5a6b9e9 [diff] |
iovec: make sure the caller actually wants anything in memcpy_fromiovecend [ Upstream commit 06ebb06d49486676272a3c030bfeef4bd969a8e6 ] Check for cases when the caller requests 0 bytes instead of running off and dereferencing potentially invalid iovecs. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>