Dave Kleikamp c7e31b2fec jfs: Fix array index bounds check in dbAdjTree
commit c61b3e4839007668360ed8b87d7da96d2e59fc6c upstream.

Bounds checking tools can flag a bug in dbAdjTree() for an array index
out of bounds in dmt_stree. Since dmt_stree can refer to the stree in
both structures dmaptree and dmapctl, use the larger array to eliminate
the false positive.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Reported-by: butt3rflyh4ck <butterflyhuangxx@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-30 11:26:13 +01:00
..
2020-11-05 11:08:53 +01:00
2019-08-06 19:06:51 +02:00
2020-10-30 10:38:28 +01:00
2018-08-17 16:20:28 -07:00
2020-12-30 11:26:13 +01:00
2020-11-18 19:18:49 +01:00
2018-08-18 11:44:53 -07:00
2020-11-05 11:08:50 +01:00
2020-06-22 09:05:01 +02:00
2020-03-05 16:42:12 +01:00
2018-08-21 18:19:09 -07:00
2020-03-25 08:06:14 +01:00