Unverified Commit 5914a44e authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5368 media: pvrusb2: fix use after free on context disconnection

parents b670dd90 c612ba2e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -268,6 +268,7 @@ void pvr2_context_disconnect(struct pvr2_context *mp)
{
	pvr2_hdw_disconnect(mp->hdw);
	mp->disconnect_flag = !0;
	if (!pvr2_context_shutok())
		pvr2_context_notify(mp);
}