fixed error code for buffer_too_large in trans reply
authorAndrew Tridgell <tridge@samba.org>
Fri, 12 May 2000 05:25:22 +0000 (05:25 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 12 May 2000 05:25:22 +0000 (05:25 +0000)
source/smbd/ipc.c

index 30ac8932aa59247368e27ca527e3ba1b9425ebed..a8c1502e9449f85582103e1dd12f9450371e1cb6 100644 (file)
@@ -104,7 +104,7 @@ void send_trans_reply(char *outbuf,
        {
                /* issue a buffer size warning.  on a DCE/RPC pipe, expect an SMBreadX... */
                SIVAL(outbuf, smb_flg2, FLAGS2_32_BIT_ERROR_CODES);
-               SIVAL(outbuf, smb_rcls, 0x80000000 | NT_STATUS_ACCESS_VIOLATION);
+               SIVAL(outbuf, smb_rcls, 0x80000000 | STATUS_BUFFER_OVERFLOW);
        }
 
        copy_trans_params_and_data(outbuf, align,