]> granicus.if.org Git - libvpx/commit
vp9,encoder: check pointers before member access
authorJames Zern <jzern@google.com>
Sat, 15 Sep 2018 04:36:26 +0000 (21:36 -0700)
committerJames Zern <jzern@google.com>
Sat, 15 Sep 2018 04:36:26 +0000 (21:36 -0700)
commit54827e5782d2e00f2117544201fe2b3dc6e0bce5
treec7049aa114c6b1751803ca5e9c0f869ea954a464
parentcb671194c9ac4068922a971318670c91bf96c906
vp9,encoder: check pointers before member access

verify pointers passed to vp9_cyclic_refresh_free() and
vp9_setup_pc_tree() before attempting to free members of the structs.

based on the change in libaom:
ie41de6b5a AV1FrameSizeTests.LargeValidSizes: avoid segfault.

Change-Id: Ib81759923cb442e19f42e6edb4b61171d8799ba6
vp9/encoder/vp9_aq_cyclicrefresh.c
vp9/encoder/vp9_context_tree.c