aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorLiu ShuoX <[email protected]>2014-03-12 21:24:44 +0800
committerTony Luck <[email protected]>2014-03-17 14:14:03 -0700
commit017321cf390045dd4c4afc4a232995ea50bcf66d (patch)
treec7ce8487792ba20f6e07d3320e4985e331fbf921 /include/linux/fpga/fpga-mgr.h
parent34f0ec82e0a99009161a281629280cfcad187696 (diff)
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions