diff options
author | Manas Ghandat <[email protected]> | 2023-10-04 11:17:18 +0530 |
---|---|---|
committer | Dave Kleikamp <[email protected]> | 2023-10-04 09:17:53 -0500 |
commit | 22cad8bc1d36547cdae0eef316c47d917ce3147c (patch) | |
tree | 3624a19b65212722d99db6b3b701b85ed63aee0a /tools/perf/scripts/python | |
parent | 64933ab7b04881c6c18b21ff206c12278341c72e (diff) |
jfs: fix array-index-out-of-bounds in dbFindLeaf
Currently while searching for dmtree_t for sufficient free blocks there
is an array out of bounds while getting element in tp->dm_stree. To add
the required check for out of bound we first need to determine the type
of dmtree. Thus added an extra parameter to dbFindLeaf so that the type
of tree can be determined and the required check can be applied.
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=aea1ad91e854d0a83e04
Signed-off-by: Manas Ghandat <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions