summaryrefslogtreecommitdiff
path: root/libavcodec/v4l2_context.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-01-09 23:56:41 +0100
committerMark Thompson <sw@jkqxz.net>2018-01-21 00:37:35 +0000
commita0c624e299730c8c5800375c2f5f3c6c200053ff (patch)
tree6a7b9312d0b25d9a65d160d62165675d4985bdfb /libavcodec/v4l2_context.c
parent6c1c6c6c71fc776c6dd25d13861b036dad2cdc1b (diff)
avcodec: v4l2_m2m: fix races around freeing data on close
Refcount all of the context information. This also fixes a potential segmentation fault when accessing freed memory (buffer returned after the codec has been closed). Tested-by: Jorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com>
Diffstat (limited to 'libavcodec/v4l2_context.c')
0 files changed, 0 insertions, 0 deletions