git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b83f49
)
Fix panic: Don't free the logfilename in winbind_child_died().
author
Michael Adam
<obnox@samba.org>
Wed, 23 Jan 2008 13:33:22 +0000
(14:33 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jan 2008 13:33:22 +0000
(14:33 +0100)
The child struct is immediately reused, and this results
in a panic when child->logfilename == NULL.
Michael
(This used to be commit
da131d089db98017632103aa9bbe38c98f7a3fc1
)
source3/winbindd/winbindd_dual.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_dual.c
b/source3/winbindd/winbindd_dual.c
index 778886d8e28b87767f2d0eb63082563bc324f912..e21524689bbc5eae4702d66afbe668620b4a9518 100644
(file)
--- a/
source3/winbindd/winbindd_dual.c
+++ b/
source3/winbindd/winbindd_dual.c
@@
-480,7
+480,6
@@
void winbind_child_died(pid_t pid)
child->event.fd = 0;
child->event.flags = 0;
child->pid = 0;
- SAFE_FREE(child->logfilename);
schedule_async_request(child);
}