Colin Ian King 29ad1f88ab ACPICA: Avoid null pointer dereference on Op.
ACPICA commit 08a00639b0d6756e8ba1421419fc3728904651d9

The calls to acpi_os_acquire_object can result in a null being assigned
to Op (for example if a mutex acquire fails) which can lead to a
null pointer dereference on Op on the call to ASL_CV_TRANSFER_COMMENTS
(via function cv_transfer_comments). Move the block into the previous
block that checks for a null Op so that we never can call
cv_transfer_comments with a null Op.

Detected by: coverity_scan CID#1371660 ("Dereference after null check")

Link: https://github.com/acpica/acpica/commit/08a00639
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-11-27 01:20:28 +01:00
..
2017-11-13 20:08:22 -08:00
2017-11-15 10:56:56 -08:00
2017-11-17 09:51:57 -08:00
2017-11-16 09:15:57 -08:00
2017-11-09 00:55:16 +01:00
2016-04-27 23:42:57 +02:00
2017-11-13 20:08:22 -08:00
2016-01-04 22:10:30 +01:00
2017-08-24 03:38:25 +02:00
2017-11-15 13:46:33 -08:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2017-11-13 01:41:26 +01:00
2017-11-15 13:46:33 -08:00
2016-10-10 02:20:43 +02:00
2017-05-09 15:15:47 -07:00
2015-07-08 02:27:32 +02:00
2017-11-16 09:15:57 -08:00
2017-11-16 09:15:57 -08:00
2017-11-13 21:05:31 -08:00
2017-11-15 13:46:33 -08:00