In filters/reframe_latm.c:480. There is a Null Pointer Dereference, when call gf_filter_pck_get_data.
The first arg pck may be null with a crafted mp4 file.
As below code shows:
`
if (!pck) {
if (gf_filter_pid_is_eos(ctx->ipid)) { // check1
if (!ctx->latm_buffer_size) { // check2
if (ctx->opid)
gf_filter_pid_set_eos(ctx->opid);
if (ctx->src_pck) gf_filter_pck_unref(ctx->src_pck);
ctx->src_pck = NULL;
return GF_EOS;
}
} else {
return GF_OK;
}
}
`
Although there are checks to test if pck is null. But when check1 is true and check2 is false, the checks are nothing.
The command line:
In gdb:
In filters/reframe_latm.c:480. There is a Null Pointer Dereference, when call
gf_filter_pck_get_data.The first arg pck may be null with a crafted mp4 file.
As below code shows:
`
`


Although there are checks to test if pck is null. But when check1 is true and check2 is false, the checks are nothing.
The command line:
In gdb:
The crafted file:
bug1.zip
The text was updated successfully, but these errors were encountered: