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). Bug: aomedia:3458 Change-Id: I1ab5bb26e396f2f1d9f7e42f570563403f0e2be2
- Loading branch information