From: Chen Gong Date: Mon, 16 May 2011 18:01:39 +0000 (-0700) Subject: pstore: fix potential logic issue in pstore read interface X-Git-Tag: v3.0-rc1~378^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ec25deb2471bd49e907ab2f9ef6f860eb7cf95;p=pandora-kernel.git 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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed