diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-05 19:00:31 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-08-12 12:17:24 +0200 |
| commit | 044449c841b6885ebff0608502da0019bda42799 (patch) | |
| tree | 9fddbb2efaa29a8fa3bc871fffcff4b5ebb67184 /include | |
| parent | 79d015e832887b3e195f5dd030299bd961c34ff8 (diff) | |
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 'include')
0 files changed, 0 insertions, 0 deletions
