diff options
author | Jeremy Allison <jra@samba.org> | 2007-09-14 16:50:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:47 -0500 |
commit | 539635cd94dd21dbc72f070fbd8a54c726091f5a (patch) | |
tree | bbf55ef0a3e41226fae6d6768e1c8f56ac87a584 | |
parent | 5b00e7c38987d8726046440e46fccd86a0d8a104 (diff) | |
download | samba-539635cd94dd21dbc72f070fbd8a54c726091f5a.tar.gz samba-539635cd94dd21dbc72f070fbd8a54c726091f5a.tar.bz2 samba-539635cd94dd21dbc72f070fbd8a54c726091f5a.zip |
r25163: Fix wrong ctx passed to talloc_asprintf_append().
Found by Metze's code review (thanks Metze !).
Jeremy.
(This used to be commit a7370eea6be29c0e2adf5ae62aa6182b9165e744)
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 7af4bcee60..478f60d094 100644 --- a/source3/smbd/trans2.c +++ b/source3/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) { |