mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user