Microsoft KB Archive/263123

From BetaArchive Wiki
Knowledge Base


BUG: Intermittent Crashes in NdisMWanIndicateReceive() on Windows 2000

Article ID: 263123

Article Last Modified on 2/12/2007



APPLIES TO

  • Microsoft Win32 Device Driver Kit for Windows 2000, when used with:
    • Microsoft Windows 2000 Standard Edition



This article was previously published under Q263123

SYMPTOMS

Intermittent system halts (crashes) may occur when an network driver interface specification (NDIS) Wide Area Networking (WAN) driver calls the NdisMWanIndicateReceive function.

CAUSE

NdisMWanIndicateReceive attempts to read the first byte past the end of the packet buffer.

RESOLUTION

Allocate a buffer for the packet that is at least 4 bytes larger than the actual packet size. However, the PacketSize argument in the NdisMWanIndicateReceive call should be set to the actual size of the packet buffer. For example, if the packet buffer needs to be 100 bytes in size, then allocate at least 104 bytes for the buffer (but the PacketSize argument should be equal to 100 bytes).

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbndis kbnofix KB263123