mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
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:
parent
8119f6f384
commit
30be599db3
1 changed files with 3 additions and 0 deletions
|
@ -377,6 +377,9 @@ MiniEthReceiveIndication(
|
||||||
* PacketSize = Total size of received packet
|
* 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,
|
MiniIndicateData((PLOGICAL_ADAPTER)Filter->Miniport,
|
||||||
MacReceiveContext,
|
MacReceiveContext,
|
||||||
HeaderBuffer,
|
HeaderBuffer,
|
||||||
|
|
Loading…
Reference in a new issue