git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7371762
)
r22044: Remove the only skip_string(...,2) caller
author
Volker Lendecke
<vlendec@samba.org>
Mon, 2 Apr 2007 20:04:05 +0000
(20:04 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:19:05 +0000
(12:19 -0500)
(This used to be commit
08ea2b83b26968990fce191cdafe26d3183518a6
)
source3/smbd/lanman.c
patch
|
blob
|
history
diff --git
a/source3/smbd/lanman.c
b/source3/smbd/lanman.c
index f7fe9654300980d50592d67c065712f622b8a886..1f38f65f3ed7e4a0aaf148aef5188d28b0192df7 100644
(file)
--- a/
source3/smbd/lanman.c
+++ b/
source3/smbd/lanman.c
@@
-2340,7
+2340,7
@@
static BOOL api_SetUserPassword(connection_struct *conn,uint16 vuid,
int *rdata_len,int *rparam_len)
{
char *np = get_safe_str_ptr(param,tpscnt,param,2);
- char *p = skip_string(param,tpscnt,
np,2
);
+ char *p = skip_string(param,tpscnt,
skip_string(param,tpscnt,np,1),1
);
fstring user;
fstring pass1,pass2;