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

!6418 media: pvrusb2: fix uaf in pvr2_context_set_notify

parents d9d2e017 8a0dbbca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,9 +267,9 @@ static void pvr2_context_exit(struct pvr2_context *mp)
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);
	mp->disconnect_flag = !0;
}