summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorAlexander Aring <aring@mojatatu.com>2018-04-20 22:15:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-29 12:33:13 +0300
commit4c2c574cf6ed0bbbddaac3d78061116230adea11 (patch)
tree184665b76a64fca8ff1334085805ac3ac9fbe572 /sound/core
parent388f3d9708fcc96cea44fe343ffe055e58ba6e6b (diff)
downloadlinux-4c2c574cf6ed0bbbddaac3d78061116230adea11.tar.xz
net: sched: ife: check on metadata length
[ Upstream commit d57493d6d1be26c8ac8516a4463bfe24956978eb ] This patch checks if sk buffer is available to dererence ife header. If not then NULL will returned to signal an malformed ife packet. This avoids to crashing the kernel from outside. Signed-off-by: Alexander Aring <aring@mojatatu.com> Reviewed-by: Yotam Gigi <yotam.gi@gmail.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions