git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
883fd79
)
r25163: Fix wrong ctx passed to talloc_asprintf_append().
author
Jeremy Allison
<jra@samba.org>
Fri, 14 Sep 2007 16:50:54 +0000
(16:50 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:47 +0000
(12:30 -0500)
Found by Metze's code review (thanks Metze !).
Jeremy.
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index 7af4bcee6063087afc676ad67400bf69d9977b37..478f60d094c6113557c9bbe092bf571648578693 100644
(file)
--- a/
source/smbd/trans2.c
+++ b/
source/smbd/trans2.c
@@
-4876,7
+4876,7
@@
static NTSTATUS smb_set_file_unix_link(connection_struct *conn,
return NT_STATUS_NO_MEMORY;
}
}
- rel_name = talloc_asprintf_append(
ctx
,
+ rel_name = talloc_asprintf_append(
rel_name
,
"%s",
link_target);
if (!rel_name) {