git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2707401
)
r2261: fix getdc mailslot checks; testing with Windows 98se, WinME, WinNT 4.0/200x/XP
author
Gerald Carter
<jerry@samba.org>
Thu, 9 Sep 2004 01:46:20 +0000
(
01:46
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:52:38 +0000
(10:52 -0500)
source/nmbd/nmbd_processlogon.c
patch
|
blob
|
history
diff --git
a/source/nmbd/nmbd_processlogon.c
b/source/nmbd/nmbd_processlogon.c
index fa2a8c1cefa060b09f5bc23ea86e47e5c55f75cd..ae4011eb8f0414be48c32a3b682c8d225b3a63da 100644
(file)
--- a/
source/nmbd/nmbd_processlogon.c
+++ b/
source/nmbd/nmbd_processlogon.c
@@
-114,7
+114,7
@@
logons are not enabled.\n", inet_ntoa(p->ip) ));
}
q = skip_string(getdc,1);
- if (PTR_DIFF(q + 5, buf) >
=
len) {
+ if (PTR_DIFF(q + 5, buf) > len) {
DEBUG(0,("process_logon_packet: bad packet\n"));
return;
}
@@
-215,7
+215,7
@@
logons are not enabled.\n", inet_ntoa(p->ip) ));
q += 16;
}
- if (PTR_DIFF(q + 8, buf) >
=
len) {
+ if (PTR_DIFF(q + 8, buf) > len) {
DEBUG(0,("process_logon_packet: bad packet\n"));
return;
}
@@
-334,7
+334,7
@@
reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
q += 16;
}
- if (PTR_DIFF(q + 8, buf) >
=
len) {
+ if (PTR_DIFF(q + 8, buf) > len) {
DEBUG(0,("process_logon_packet: bad packet\n"));
return;
}