mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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
|
||||
*/
|
||||
{
|
||||
/* If there is no filter, then we can't do any more */
|
||||
if( !Filter ) return;
|
||||
|
||||
MiniIndicateData((PLOGICAL_ADAPTER)Filter->Miniport,
|
||||
MacReceiveContext,
|
||||
HeaderBuffer,
|
||||
|
|
Loading…
Reference in a new issue