diff options
| author | Theodore Ts'o <[email protected]> | 2018-03-31 00:00:56 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2018-03-31 00:00:56 +0000 |
| commit | 9496005d6ca4cf8f5ee8f828165a8956872dc59d (patch) | |
| tree | a27458dd6e7b0efec6d50e258c6e60eea30c018a /lib/mpi/mpi-inline.h | |
| parent | ext4: move call to ext4_error() into ext4_xattr_check_block() (diff) | |
| download | kernel-9496005d6ca4cf8f5ee8f828165a8956872dc59d.tar.gz kernel-9496005d6ca4cf8f5ee8f828165a8956872dc59d.zip | |
ext4: add bounds checking to ext4_xattr_find_entry()
Add some paranoia checks to make sure we don't stray beyond the end of
the valid memory region containing ext4 xattr entries while we are
scanning for a match.
Also rename the function to xattr_find_entry() since it is static and
thus only used in fs/ext4/xattr.c
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
