summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-09-29 15:10:51 +0200
committerJiri Slaby <jslaby@suse.cz>2014-10-17 09:43:22 +0200
commit6fd64e7d017a6355e2debeaf5ceb61c2a4c407e1 (patch)
tree7811026272dee6f36fe3a94aae92256b3a86ea15 /include
parent8d9c8c3980a85d79db13c5ce4bb118fef32d4f50 (diff)
dell-wmi: Fix access out of memory
commit a666b6ffbc9b6705a3ced704f52c3fe9ea8bf959 upstream. Without this patch, dell-wmi is trying to access elements of dynamically allocated array without checking the array size. This can lead to memory corruption or a kernel panic. This patch adds the missing checks for array size. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions