[PATCH] tpm: fix missing string
authorKylene Jo Hall <kjhall@us.ibm.com>
Sat, 22 Apr 2006 09:36:46 +0000 (02:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 22 Apr 2006 16:19:53 +0000 (09:19 -0700)
commit7c69a47f1badf40dfa2febac71df98d32b1b56d7
tree7f37cf8d9120234c00e8dfaea54b5df064c9e1d0
parent59e89f3a091d5cf93f4b176aedcfded61ece5252
[PATCH] tpm: fix missing string

A string corresponding to the tcpa_pc_event_id POST_CONTENTS was missing
causing an overflow bug when access was attempted in the get_event_name
function.

This bug was found by Coverity.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm_bios.c