summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-08-05 20:19:36 +1000
committerAndrew Tridgell <tridge@samba.org>2009-08-05 20:24:00 +1000
commit67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44 (patch)
tree0cabe84992c479f893c22cd6ab5d7005d8a3ede2 /source4/smb_server
parentcc74f213248f910c1c7908b23be07485752e85b9 (diff)
downloadsamba-67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44.tar.gz
samba-67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44.tar.bz2
samba-67b6f5784ae8d2e5c5b783b24a4b0ff555a28d44.zip
on buffer overflow windows gives SMBSRV:ERRerror here
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index 0433d3582f..104caca446 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -1063,7 +1063,7 @@ void smbsrv_reply_write_and_X(struct smbsrv_request *req)
/* make sure the data is in bounds */
if (req_data_oob(&req->in.bufinfo, io->writex.in.data, io->writex.in.count)) {
- smbsrv_send_error(req, NT_STATUS_FOOBAR);
+ smbsrv_send_error(req, NT_STATUS_DOS(ERRSRV, ERRerror));
return;
}