ACPICA: Return error if DerefOf resolves to a null package element.
authorBob Moore <robert.moore@intel.com>
Thu, 8 Aug 2013 07:29:58 +0000 (15:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2013 19:11:40 +0000 (11:11 -0800)
commit97020dadef81be7b3f1af758406a97d02c1cfa6b
tree96fe5db84353a655d3bfd717e2337056ba7f1b8c
parent0417642d6541b4583cdebbb031f8c020029400e7
ACPICA: Return error if DerefOf resolves to a null package element.

commit a50abf4842dd7d603a2ad6dcc7f1467fd2a66f03 upstream.

Disallow the dereference of a reference (via index) to an uninitialized
package element. Provides compatibility with other ACPI
implementations. ACPICA BZ 1003.

References: https://bugs.acpica.org/show_bug.cgi?id=431
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>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpica/exoparg1.c