-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] fix potential use-after-free after li_job_reset
* need `job->ref->job = NULL;` when detaching ref from job * li_job_reset is just li_job_stop + reset of generation * move optimization of keeping jobref with refcount==1 to li_job_stop Change-Id: Ia2e4db186582ebfea92a64aa9aeaf9a67bb722bf
- Loading branch information
Showing
2 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters