Skip to content

Commit

Permalink
Used RtlEqualMemory instead of EtlEqualUnicodeString because of the d…
Browse files Browse the repository at this point in the history
…ispatch IRQL.
  • Loading branch information
hsluoyz committed Mar 18, 2016
1 parent 1e945ee commit 5ca0905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packetWin7/npf/npf/Openclos.c
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ NPF_EqualAdapterName(
PNDIS_STRING s2
)
{
return RtlEqualUnicodeString(s1, s2, TRUE);
return RtlEqualMemory(s1->Buffer, s2->Buffer, s2->Length);
}

//-------------------------------------------------------------------
Expand Down

0 comments on commit 5ca0905

Please sign in to comment.