Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23a035e4 authored by Gilad Broner's avatar Gilad Broner
Browse files

media: dvb: verify filter state when reusing decoder buffer



In case that user calls DMX_REUSE_DECODER_BUFFER ioctl after
the filter has stopped, feed->ts is NULL and so kernel will
dereference a NULL pointer.
Add checking of filter state to verify filter is active when
decoder buffer is reused and verify feed and feed->ts are not
NULL.

Change-Id: I6b8bb64cd7689e2f15813d3f777803df3bb0c849
Signed-off-by: default avatarGilad Broner <gbroner@codeaurora.org>
parent 7a91470b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment