diff options
author | Bob Moore | 2013-03-08 10:19:38 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2013-03-12 00:45:03 +0100 |
commit | c13085e519e8984fede41fa3d6a5502523b10996 (patch) | |
tree | c993b660f58d41ab46b93c4a810517de6f9ab072 /drivers/acpi/video_detect.c | |
parent | Linux 3.9-rc2 (diff) | |
download | kernel-qcow2-linux-c13085e519e8984fede41fa3d6a5502523b10996.tar.gz kernel-qcow2-linux-c13085e519e8984fede41fa3d6a5502523b10996.tar.xz kernel-qcow2-linux-c13085e519e8984fede41fa3d6a5502523b10996.zip |
ACPICA: Resource Mgr: Prevent infinite loops in resource walks
Add checks for zero-length resource descriptors in all code that
loops through a resource descriptor list. This prevents possible
infinite loops because the length is used to increment the traveral
pointer and detect the end-of-descriptor.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/video_detect.c')
0 files changed, 0 insertions, 0 deletions