Skip to content

Commit

Permalink
fixed possible crash in cenc decrypt upon init failure - cf #2747
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jan 31, 2024
1 parent bd5ee78 commit eaea344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/filters/decrypt_cenc_isma.c
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,7 @@ static GF_Err cenc_dec_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool

if (is_remove) {
cstr = gf_filter_pid_get_udta(pid);
if (!cstr) return GF_OK; //configure failure
if (cstr->opid) {
gf_filter_pid_remove(cstr->opid);
}
Expand Down

0 comments on commit eaea344

Please sign in to comment.