summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-02 23:56:24 +0000
committerJeremy Allison <jra@samba.org>2000-05-02 23:56:24 +0000
commita7a4f4f67c230fbc47a5e140c059e6cfc45cd1b4 (patch)
tree2af4fbed9f1984cd046cd4421b8dff321578d7b4 /source3/nmbd
parentd009301464a70853cd10b0acbf0718d660368793 (diff)
downloadsamba-a7a4f4f67c230fbc47a5e140c059e6cfc45cd1b4.tar.gz
samba-a7a4f4f67c230fbc47a5e140c059e6cfc45cd1b4.tar.bz2
samba-a7a4f4f67c230fbc47a5e140c059e6cfc45cd1b4.zip
Fixed wild pointer diff found by insure.
Jeremy. (This used to be commit 158d9cada8c12725981d495faf8ed9f5d4306e23)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_processlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index bb4b7547a6..0da25a313d 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -159,7 +159,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) ));
/* PDC and domain name */
if (!short_request) /* Make a full reply */
{
- q = ALIGN2(q, buf);
+ q = ALIGN2(q, outbuf);
q += dos_PutUniCode(q, my_name, sizeof(pstring), True); /* PDC name */
q += dos_PutUniCode(q, global_myworkgroup,sizeof(pstring), True); /* Domain name*/