summaryrefslogtreecommitdiffstats
path: root/fs/ext4/namei.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-08-05 19:00:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-08-05 19:00:31 -0400
commit381cebfe72e17e495281c07c976797f5a397515a (patch)
treeece9bc4bd3cde775c7582ca75192159d58412c54 /fs/ext4/namei.c
parentfcf5ea10992fbac3c7473a1db33d56a139333cd1 (diff)
downloadlinux-381cebfe72e17e495281c07c976797f5a397515a.tar.bz2
ext4: silence array overflow warning
I get a static checker warning: fs/ext4/ext4.h:3091 ext4_set_de_type() error: buffer overflow 'ext4_type_by_mode' 15 <= 15 It seems unlikely that we would hit this read overflow in real life, but it's also simple enough to make the array 16 bytes instead of 15. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/namei.c')
0 files changed, 0 insertions, 0 deletions