Invalid Named Pipe Message Causes SNABASE.EXE Exception

Last reviewed: April 18, 1997
Article ID: Q106524

The information in this article applies to:
  • Microsoft SNA Server for Windows NT, versions 2.0, 2.1, and 2.11

SYMPTOMS

SNA Server generates a Dr. Watson error in SNABASE.EXE when it receives an invalid message over a Named Pipe connection from a client. The SNA Server also logs an Event ID 624 in the Windows NT Application Log (as shown in the Event Viewer) indicating that an SNADUMP.LOG was created for SNABASE.EXE. The following is an excerpt from a DRWTSN32.LOG that is created following one of these SNABASE errors:

   Application exception occurred:
      App: snabase.DBG (pid=148)
      When: 10/31/1995 @ 11:29:1.2
      Exception number: c0000005 (access violation)

NOTE: Your DRWTSN32.LOG file will appear somewhat different than this example.

CAUSE

SNABASE.EXE on the SNA Server is not properly handling an invalid incoming NewPipe messages from SNA Server clients over Named Pipe connections. The NewPipe messages are only sent to the SNA Server when the WNAP (16-bit) or SNABASE (32-bit) process is initializing on SNA Server clients.

WORKAROUND

For Win 3.x clients, a potential workaround is to start WNAP in advance (by adding WNAP.EXE to the startup group of Windows or Windows for Workgroups), so that it's not automatically invoked when an SNA application or emulator is started.

RESOLUTION

Microsoft has updated the following files to correct this problem:

   <winroot>\SYSTEM\SNALM.DLL
   <winroot>\SYSTEM\SNAIP.DLL
   <winroot>\SYSTEM\SNANW.DLL
   <winroot>\SYSTEM\SNAAT.DLL
   <winroot>\SYSTEM\SNABV.DLL
   <winroot>\SYSTEM\SNANB.DLL

These corrected files increase validity checking on incoming NewPipe messages received from clients over Named Pipe connections as well as the other client/server protocols supported by SNA Server. In addition, SNA Server now logs an Event 631 in the Application Log when it receives an invalid NewPipe message from a client.

STATUS

Microsoft has confirmed this to be a problem in SNA Server for Windows NT. This problem was corrected in the latest SNA Server for Windows NT, 2.11 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K


Additional query words: prodsna
Keywords : kbbug2.00 kbbug2.10 kbbug2.11 kbnetwork ntnetserv
Version : 2.0 2.1 2.11
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.