diff options
author | Jean-Mickael Guerin <jean-mickael.guerin@6wind.com> | 2009-12-01 07:52:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 01:23:23 -0800 |
commit | 5b23136bcf766a58160a319677b366c90f0cd223 (patch) | |
tree | da895eecddb4ca3d6a14217917e2193eaca609ea /net/unix | |
parent | d7256d0eb4c82b789125f610fea11c6e82b1bcff (diff) | |
download | op-kernel-dev-5b23136bcf766a58160a319677b366c90f0cd223.zip op-kernel-dev-5b23136bcf766a58160a319677b366c90f0cd223.tar.gz |
net: compat_sys_recvmmsg user timespec arg can be NULL
We must test if user timespec is non-NULL before copying from userpace,
same as sys_recvmmsg().
Commiter note: changed it so that we have just one branch.
Signed-off-by: Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions