Darren Kenny
bb9ff31641
fs/zfs/zfs: Fix possible insecure use of chunk size in zap_leaf_array_get()
...
In zap_leaf_array_get() the chunk size passed in is considered tainted
by Coverity, and is being used before it is tested for validity. To fix
this the assignment of "la" is moved until after the test of the value
of "chunk".
Fixes: CID 314014
Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-11-02 16:48:59 +01:00
..
2019-04-08 15:22:10 +10:00
2021-04-12 16:26:49 +02:00
2021-09-13 14:52:58 +02:00
2021-10-04 15:06:36 +02:00
2021-04-13 17:16:04 +02:00
2020-07-29 16:55:48 +02:00
2021-11-02 16:48:59 +01:00
2021-03-02 15:54:15 +01:00
2018-11-09 13:25:31 +01:00
2021-03-02 15:54:20 +01:00
2012-03-03 13:05:08 +01:00
2021-03-02 15:54:18 +01:00
2021-11-02 16:13:34 +01:00
2021-10-04 14:16:09 +02:00
2021-10-04 14:16:09 +02:00
2021-03-02 15:54:15 +01:00
2021-10-04 14:26:32 +02:00
2021-06-01 17:19:13 +02:00
2021-10-14 18:14:39 +02:00
2020-12-12 01:19:03 +01:00
2021-03-10 14:50:44 +01:00
2021-03-10 14:50:44 +01:00
2021-10-04 14:30:44 +02:00
2021-06-01 17:19:13 +02:00
2021-10-04 14:24:35 +02:00
2013-10-14 03:40:20 +02:00
2014-01-18 23:15:40 +04:00
2014-01-18 23:15:40 +04:00
2018-03-05 14:08:22 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2013-04-27 02:00:16 +02:00
2013-03-01 11:15:09 +01:00
2014-09-21 18:23:23 +02:00
2021-03-02 15:54:19 +01:00
2021-03-02 15:54:19 +01:00
2017-05-03 12:49:31 +02:00