From: Jeremy Allison Date: Tue, 2 May 2000 23:55:53 +0000 (+0000) Subject: Fixed wild pointer diff found by insure. X-Git-Tag: samba-2.0.8~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18ce5d7a1440ae2da7c046bc92a96d26ec91ce8;p=thirdparty%2Fsamba.git Fixed wild pointer diff found by insure. Jeremy. --- diff --git a/source/nmbd/nmbd_processlogon.c b/source/nmbd/nmbd_processlogon.c index bb4b7547a6e..13c09e638c9 100644 --- a/source/nmbd/nmbd_processlogon.c +++ b/source/nmbd/nmbd_processlogon.c @@ -115,7 +115,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) )); getdc = skip_string(machine,1); q = skip_string(getdc,1); - q = ALIGN2(q, buf); + q = ALIGN2(q, outbuf); /* at this point we can work out if this is a W9X or NT style request. Experiments show that the difference is wether the