Skip to content

Add another EPB checks for preventing out-of-bound operation #133

Description

@7erryX

OSV-2023-159

isvce_cabac_flush(isvce_cabac_ctxt_t *ps_cabac_ctxt) in encoder/svc/isvce_cabac.c once caused OSV-2023-159 and was fixed in Commit ab835f3
by adding extra EPB check

Similar Code Snippet

The following code contains a similar logic

if (pu1_strm_buf[ps_stream->u4_strm_buf_offset - 1] == 0x03

Would it make sense to fix it in the same way?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions