git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdae545
)
r22381: fix memory leak
author
Stefan Metzmacher
<metze@samba.org>
Thu, 19 Apr 2007 16:50:16 +0000
(16:50 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:51:11 +0000
(14:51 -0500)
metze
(This used to be commit
4bfe900d1b4bd037ce0115cf34761066f667beb6
)
source4/smb_server/smb/service.c
patch
|
blob
|
history
diff --git
a/source4/smb_server/smb/service.c
b/source4/smb_server/smb/service.c
index b396d2b60583a1b7e90009b7a023213266083595..39caf3789c508612edb823260892da5b90654911 100644
(file)
--- a/
source4/smb_server/smb/service.c
+++ b/
source4/smb_server/smb/service.c
@@
-174,7
+174,7
@@
NTSTATUS smbsrv_tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
if (con->generic.level == RAW_TCON_TCON) {
DATA_BLOB password;
- password = data_blob
(con->tcon.in.password, strlen(con->tcon.in.password) + 1
);
+ password = data_blob
_string_const(con->tcon.in.password
);
status = make_connection(req, con->tcon.in.service, password, con->tcon.in.dev);