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:
92b5ff3
)
Samba Shared Repository - branch v3-2-stable updated - release-3-2-0pre3-9-g49e5663
author
Karolin Seeger
<kseeger@samba.org>
Mon, 5 May 2008 11:05:17 +0000
(06:05 -0500)
committer
Jeremy Allison
<jra@samba.org>
Mon, 5 May 2008 19:55:43 +0000
(12:55 -0700)
The branch, v3-2-stable has been updated
via
49e56637971c8ae2f091aa61c6f6c878b4accd23
(commit)
from
52b64605e8210234118c445e416ad0c7980a730c
(commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable
- Log -----------------------------------------------------------------
commit
49e56637971c8ae2f091aa61c6f6c878b4accd23
Author: Volker Lendecke <vl@samba.org>
Date: Mon May 5 12:45:12 2008 +0200
Fix dfs_Enum: In form_junctions, correctly check for malloc failure
(cherry picked from commit
1b1614c3261e1e93a2cad1f1063e28cbbb13f434
)
-----------------------------------------------------------------------
Summary of changes:
source/smbd/msdfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
source/smbd/msdfs.c
patch
|
blob
|
history
diff --git
a/source/smbd/msdfs.c
b/source/smbd/msdfs.c
index fb757a5f7469f76e9385c0ca64de2c0be3f71fa1..4f9e73967785b8ba4326112a485e39ec34a3a220 100644
(file)
--- a/
source/smbd/msdfs.c
+++ b/
source/smbd/msdfs.c
@@
-1468,7
+1468,7
@@
static int form_junctions(TALLOC_CTX *ctx,
*/
jucn[cnt].service_name = talloc_strdup(ctx,service_name);
jucn[cnt].volume_name = talloc_strdup(ctx, "");
- if (!jucn[cnt].service_name || jucn[cnt].volume_name) {
+ if (!jucn[cnt].service_name ||
!
jucn[cnt].volume_name) {
goto out;
}
jucn[cnt].referral_count = 1;