]> git.hungrycats.org Git - linux/commit
jfs: don't walk off the end of ealist
authorlei lu <llfamsec@gmail.com>
Tue, 28 May 2024 18:30:40 +0000 (02:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jul 2024 09:36:15 +0000 (11:36 +0200)
commitf4435f476b9bf059cd9e26a69f5b29c768d00375
tree7264f1940b527465a1f8adf514fa97dfd1eecfaf
parent624b380074f0dc209fb8706db3295c735079f34c
jfs: don't walk off the end of ealist

commit d0fa70aca54c8643248e89061da23752506ec0d4 upstream.

Add a check before visiting the members of ea to
make sure each ea stays within the ealist.

Signed-off-by: lei lu <llfamsec@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/jfs/xattr.c