aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorLiu ShuoX <[email protected]>2014-03-12 13:24:44 +0000
committerTony Luck <[email protected]>2014-03-17 21:14:03 +0000
commit017321cf390045dd4c4afc4a232995ea50bcf66d (patch)
treec7ce8487792ba20f6e07d3320e4985e331fbf921 /fs/jbd2/commit.c
parentpstore: Correct the max_dump_cnt clearing of ramoops (diff)
downloadkernel-017321cf390045dd4c4afc4a232995ea50bcf66d.tar.gz
kernel-017321cf390045dd4c4afc4a232995ea50bcf66d.zip
pstore: Fix buffer overflow while write offset equal to buffer size
In case new offset is equal to prz->buffer_size, it won't wrap at this time and will return old(overflow) value next time. Signed-off-by: Liu ShuoX <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions