From a0a556a36b8ad0f14f97a1b7ccc5d429bf8f950e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 May 2000 05:25:22 +0000 Subject: fixed error code for buffer_too_large in trans reply --- source/smbd/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/smbd/ipc.c') diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c index 30ac8932aa5..a8c1502e944 100644 --- a/source/smbd/ipc.c +++ b/source/smbd/ipc.c @@ -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, -- cgit v1.2.1