]> Git Repo - linux.git/commit
pstore: fix potential logic issue in pstore read interface
authorChen Gong <[email protected]>
Mon, 16 May 2011 18:01:39 +0000 (11:01 -0700)
committerTony Luck <[email protected]>
Mon, 16 May 2011 18:05:08 +0000 (11:05 -0700)
commitf5ec25deb2471bd49e907ab2f9ef6f860eb7cf95
treec94504da49380911bef27f492e876ff19eb8a4b7
parent06cf91b4b4aafa50ee0a94c81d2c6922a18af242
pstore: fix potential logic issue in pstore read interface

1) in the calling of erst_read, the parameter of buffer size
maybe overflows and cause crash

2) the return value of erst_read should be checked more strictly

Signed-off-by: Chen Gong <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
drivers/acpi/apei/erst.c
This page took 0.056003 seconds and 4 git commands to generate.