diff options
| author | Liu ShuoX <[email protected]> | 2014-03-12 13:24:44 +0000 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2014-03-17 21:14:03 +0000 |
| commit | 017321cf390045dd4c4afc4a232995ea50bcf66d (patch) | |
| tree | c7ce8487792ba20f6e07d3320e4985e331fbf921 /fs/jbd2/commit.c | |
| parent | pstore: Correct the max_dump_cnt clearing of ramoops (diff) | |
| download | kernel-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
