ima: fix invalid memory reference
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 19 Dec 2011 14:57:28 +0000 (15:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Jan 2012 15:31:57 +0000 (07:31 -0800)
commitd70357fd5682b8d868a86551125b2d3bbc0f2cf4
tree3e6fa31c2f6843b5546ee6c2c8cda34cbaa24814
parentdc2a0defaf783a0f439a39f38146622c1bb16201
ima: fix invalid memory reference

commit 7b7e5916aa2f46e57f8bd8cb89c34620ebfda5da upstream.

Don't free a valid measurement entry on TPM PCR extend failure.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
security/integrity/ima/ima_queue.c