Bug In Rawether
BPF Filter Concatenation Routine

 

Knowledge Base ID

KB03220101
Category CLOSED BUG

Effected Product

Rawether/WINDIS32  - Win32 NDIS Framework

Effected Versions

Prior to V5.00.13.50
Effected Platforms All

 

Symptoms

Concatenating more than two BPF filter routines using the Rawether TPF_ConcatBPFProgram routine does not work correctly.

The third and subsequent filters are not recognized. There may also be writing to memory outside of that allocated for the concatenated filter program.

 

Cause

There is a bug in the internal _TPF_BPFProgramAppend routine.

 

Interim Fix

Modify  _TPF_BPFProgramAppend routine in the TPFilter.c module, found in the APPS\COMMON directory. Mofify line 376 in TPFilter.c.

Is:

pBPFProgram->bpf_len = nOldBPFInstructionsLen +  nNewBPFInstructionsLen;

Should be:

pBPFProgram->bpf_len = nOldBPFInstructionsLen +  nNewBPFInstructionsLen - 1;

 

Status

April 16, 2001, 2001 The fix to this bug is included in V5.00.13.50.
March 9, 2001 The fix to this bug is planned for the next major Rawether release.

 

Keywords RAWETHER,WINDIS32, BUG
Created March 22, 2001
Last Reviewed April 16, 2001

 

Mailing Lists  · PCAUSA Newsletter · PCAUSA Discussion List
·
Privacy Statement · 
WinDis 32 is a trademark of Printing Communications Assoc., Inc. (PCAUSA).
Rawether for Windows and Rawether .NET are trademarks of Printing Communications Assoc., Inc. (PCAUSA).
Microsoft, MS, Windows, Windows 95, Windows 98, Windows Millennium, Windows 2000, Windows XP, and Win32 are registered trademarks and Visual C++ and Windows NT are trademarks of the Microsoft Corporation.
Send mail to rawether-webmaster@pcausa.com with questions or comments about this web site.
Copyright © 1996-2008 Printing Communications Assoc., Inc. (PCAUSA).
All rights reserved.
Last modified: December 31, 2007