summaryrefslogtreecommitdiff
path: root/include/linux/uts.h
diff options
context:
space:
mode:
authorOcean Chen <oceanchen@google.com>2019-07-08 12:34:56 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-07-12 18:35:34 -0700
commitdd3a9b324a4dd107ec3e8e1811095182f7efb802 (patch)
tree28e1a9653fe642941c355c0cd2c52ca004760b37 /include/linux/uts.h
parent22c8dd2be7016e8bdd95d7c283728e2b1075bfb9 (diff)
f2fs: avoid out-of-range memory access
blkoff_off might over 512 due to fs corrupt or security vulnerability. That should be checked before being using. Use ENTRIES_IN_SUM to protect invalid value in cur_data_blkoff. Signed-off-by: Ocean Chen <oceanchen@google.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/uts.h')
0 files changed, 0 insertions, 0 deletions