diff options
author | 2011-05-16 11:01:39 -0700 | |
---|---|---|
committer | 2011-05-16 11:05:08 -0700 | |
commit | f5ec25deb2471bd49e907ab2f9ef6f860eb7cf95 (patch) | |
tree | c94504da49380911bef27f492e876ff19eb8a4b7 /fs/proc/array.c | |
parent | pstore: fix pstore filesystem mount/remount issue (diff) | |
download | wireguard-linux-f5ec25deb2471bd49e907ab2f9ef6f860eb7cf95.tar.xz wireguard-linux-f5ec25deb2471bd49e907ab2f9ef6f860eb7cf95.zip |
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 <gong.chen@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions