]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fixed wild pointer diff found by insure.
authorJeremy Allison <jra@samba.org>
Tue, 2 May 2000 23:55:53 +0000 (23:55 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 2 May 2000 23:55:53 +0000 (23:55 +0000)
Jeremy.

source/nmbd/nmbd_processlogon.c

index bb4b7547a6e017d3900d08513ccb506905d4b082..13c09e638c98a1d458ac25ce6103494fb4cc9c19 100644 (file)
@@ -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