commit | a666b6ffbc9b6705a3ced704f52c3fe9ea8bf959 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali.rohar@gmail.com> | Mon Sep 29 15:10:51 2014 +0200 |
committer | Darren Hart <dvhart@linux.intel.com> | Mon Sep 29 14:54:27 2014 -0700 |
tree | e185e11600a42879f790594f44c76ef39036005c | |
parent | 557b4549714536b161522960a36f0aa7f527418c [diff] |
dell-wmi: Fix access out of memory 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>