-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ctx->frame_worker shouldn't be partially allocated
init_decoder() should not leave ctx->frame_worker partially allocated. It should fully allocate ctx->frame_worker on success, and set ctx->frame_worker to NULL on failure. This bug was found by Philippe Antoine <[email protected]> using nallocfuzz (see google/oss-fuzz#9902). Change-Id: I1ab5bb26e396f2f1d9f7e42f570563403f0e2be2
- Loading branch information
1 parent
57dd20a
commit e0f8553
Showing
1 changed file
with
10 additions
and
4 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