]> granicus.if.org Git - handbrake/commit
Added missing NULL pointer check in encx265Close
authorschrotthaufen <schrotthaufen@invalid.invalid>
Fri, 13 Nov 2015 16:11:28 +0000 (17:11 +0100)
committerschrotthaufen <schrotthaufen@invalid.invalid>
Fri, 13 Nov 2015 16:21:44 +0000 (17:21 +0100)
commit849a5283605cfdb6c5f9a1884ac0d86afc189788
tree565bbdd392b2d67bf1ad96716131089e9c44c081
parent476421bb2825cc1de6bb5407908406f69e745c52
Added missing NULL pointer check in encx265Close

pv was never checked to be NULL, which would lead to a NULL pointer
dereference in the pv->delayed_chapters != NULL check, when
w->private_data is NULL.
libhb/encx265.c