mirror of
https://gitee.com/openharmony/resourceschedule_ffrt
synced 2024-12-02 10:26:58 +00:00
bbox task uaf fix
Signed-off-by: linyu <yulin24@huawei.com>
This commit is contained in:
parent
9b90f3b15b
commit
f9b2e7c4db
@ -54,7 +54,7 @@ public:
|
||||
|
||||
static void RegistCb(TaskAllocCB<CPUEUTask>::Alloc &&alloc, TaskAllocCB<CPUEUTask>::Free &&free,
|
||||
TaskAllocCB<CPUEUTask>::GetUnfreedMem &&getUnfreedMem = nullptr,
|
||||
TaskAllocCB<CPUEUTask>::LockMem &&getUnfreedMem = nullptr,
|
||||
TaskAllocCB<CPUEUTask>::LockMem &&lockMem = nullptr,
|
||||
TaskAllocCB<CPUEUTask>::UnlockMem &&unlockMem = nullptr)
|
||||
{
|
||||
Instance().alloc_ = std::move(alloc);
|
||||
|
Loading…
Reference in New Issue
Block a user