From: Bob Moore Date: Fri, 8 Mar 2013 09:19:38 +0000 (+0000) Subject: ACPICA: Resource Mgr: Prevent infinite loops in resource walks X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~8^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13085e519e8984fede41fa3d6a5502523b10996;p=pandora-kernel.git 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 Signed-off-by: Lv Zheng Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed