Add a null check to prevent crashes during the vulnerable time when Filter

is not set.

svn path=/trunk/; revision=11729
This commit is contained in:
Art Yerkes 2004-11-21 03:02:57 +00:00
parent 8119f6f384
commit 30be599db3

View file

@ -377,6 +377,9 @@ MiniEthReceiveIndication(
* PacketSize = Total size of received packet
*/
{
/* If there is no filter, then we can't do any more */
if( !Filter ) return;
MiniIndicateData((PLOGICAL_ADAPTER)Filter->Miniport,
MacReceiveContext,
HeaderBuffer,