commit | ccbb1dac52bdab0e63dc4fd6e42e57f4c8fe5290 | [log] [tgz] |
---|---|---|
author | Govindaraj Rajagopal <grajagop@codeaurora.org> | Tue Aug 20 20:34:53 2019 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 14 06:23:29 2019 -0700 |
tree | 2bda377f1b7a8e3824805297a6ff14abea09db82 | |
parent | 891278630a0e97a51eb6502f6bef23571a4ce74f [diff] |
mm-video-v4l2: venc: handle use after free on venc_dev pthread_join(msg_thread_id) is called after deleting venc_dev object. So member variables from venc_dev class is accessed in VencEncMsgThread. So changed the sequence to ensure thread_join before deleting venc_dev obj. Change-Id: I0b49d9d9051d1e4e01ee507fe87a6df88f2b986d Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>