Unverified Commit 6cf2a455 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

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

parents b7fc5315 8b15c486
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);
}