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
..
2018-05-16 07:24:30 +02:00
2018-05-16 07:24:30 +02:00
2018-08-03 16:03:32 -04:00
2018-08-15 22:47:23 -07:00
2017-04-19 14:21:23 +02:00
2018-05-16 07:24:30 +02:00
2018-05-16 07:24:30 +02:00
2018-05-16 07:24:30 +02:00
2018-08-03 16:03:31 -04:00
2017-02-09 11:57:22 -06:00