summaryrefslogtreecommitdiff
path: root/include/uapi/linux/openvswitch.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-04-25 00:49:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-25 15:08:45 -0700
commit2e5ed7fdfb23566cc3d85ce028b2f446c7bf057b (patch)
treebba27ad4a740dbbf1799b567c93b771d1977f126 /include/uapi/linux/openvswitch.h
parentcad7aa13a34dc83daa95ae5f9deca794021b4a2a (diff)
staging: lustre: improve length checks in ioctls
We copy "hdr->ioc_len" from the user twice but we only verify that it's within the limit on the first copy. Otherwise we could read unmapped memory and Oops. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Peng Tao <bergwolf@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/openvswitch.h')
0 files changed, 0 insertions, 0 deletions