Skip to content
Snippets Groups Projects
user avatar
Paolo Valente authored
In the function __bfq_deactivate_entity, the pointer
entity->sched_data could happen to be used before being properly
initialized. This led to a NULL pointer dereference. This commit fixes
this bug by just using this pointer only where it is safe to do so.

Reported-by: default avatarTom Harrison <l12436.tw@gmail.com>
Tested-by: default avatarTom Harrison <l12436.tw@gmail.com>
Signed-off-by: default avatarPaolo Valente <paolo.valente@linaro.org>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
a66c38a1
Name Last commit Last update
..