]> err.no Git - linux-2.6/commit
ACPI: EC: fix use-after-free
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Oct 2007 16:26:00 +0000 (18:26 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 25 Oct 2007 20:38:02 +0000 (16:38 -0400)
commit1544fdbc857cbe8afca16a521d3254346befeb06
tree6c4111911a0182293ef7a40f90b1196876795625
parentc9e4172cde0f793dbf48c99bdfd0abe7d18e4b09
ACPI: EC: fix use-after-free

This patch fixes a use-after-free introduced by
commit 30c08574da0ead1a47797ce028218ce5b2de61c7
(ACPI: EC: Add new query handler to list head)

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c