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

!4806 v2 media: pvrusb2: fix use after free on context disconnection

parents 0e2961dc 9739a563
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -277,6 +277,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);
}