+2
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The call to bfq_check_ioprio_change will dereference bic, however,
the null check for bic is after this call. Move the the null
check on bic to before the call to avoid any potential null
pointer dereference issues.
Detected by CoverityScan, CID#1430138 ("Dereference before null check")
Change-Id: Ia6ef69d10d8a9ee644a0a4548e4388f9a953cd8c
Signed-off-by:
Colin Ian King <colin.king@canonical.com>
Signed-off-by:
Jens Axboe <axboe@fb.com>
Signed-off-by:
FAROVITUS <farovitus@gmail.com>
Signed-off-by:
Albert I <krascgq@outlook.co.id>