From: Dan Carpenter Date: Thu, 25 Jul 2013 17:04:36 +0000 (+0300) Subject: IB/mlx5: Fix stack info leak in mlx5_ib_alloc_ucontext() X-Git-Tag: v3.11-rc4~9^2^7~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b0ca7cb149d20bd97a2ad88d860745045a77dc;p=pandora-kernel.git IB/mlx5: Fix stack info leak in mlx5_ib_alloc_ucontext() We don't set "resp.reserved". Since it's at the end of the struct that means we don't have to copy it to the user. Signed-off-by: Dan Carpenter Acked-by: Eli Cohen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed