]> Git Repo - linux.git/commit - net/compat.c
net: compat_sys_recvmmsg user timespec arg can be NULL
authorJean-Mickael Guerin <[email protected]>
Tue, 1 Dec 2009 07:52:16 +0000 (07:52 +0000)
committerDavid S. Miller <[email protected]>
Wed, 2 Dec 2009 09:23:23 +0000 (01:23 -0800)
commit5b23136bcf766a58160a319677b366c90f0cd223
treeda895eecddb4ca3d6a14217917e2193eaca609ea
parentd7256d0eb4c82b789125f610fea11c6e82b1bcff
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 <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/compat.c
This page took 0.051502 seconds and 4 git commands to generate.