The Samba-Bugzilla – Attachment 689 Details for
Bug 1784
crash: x_fclose() calls free() on static variable when setup_logging() misused
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Reorders `setup_logging' and `dbf = lines'
samba.patch (text/plain), 973 bytes, created by
Jason Lander
on 2004-09-30 13:47:28 UTC
(
hide
)
Description:
Reorders `setup_logging' and `dbf = lines'
Filename:
MIME Type:
Creator:
Jason Lander
Created:
2004-09-30 13:47:28 UTC
Size:
973 bytes
patch
obsolete
>--- source/utils/smbcacls.c.JL20040930 Thu Sep 30 21:33:10 2004 >+++ source/utils/smbcacls.c Thu Sep 30 21:37:59 2004 >@@ -763,9 +763,9 @@ > > setlinebuf(stdout); > >- dbf = x_stderr; >- > setup_logging(argv[0],True); >+ >+ dbf = x_stderr; > > lp_load(dyn_CONFIGFILE,True,False,False); > load_interfaces(); >--- source/utils/smbcquotas.c.JL20040930 Thu Sep 30 21:33:40 2004 >+++ source/utils/smbcquotas.c Thu Sep 30 21:38:04 2004 >@@ -421,12 +421,11 @@ > > setlinebuf(stdout); > >- dbf = x_stderr; >- > fault_setup(NULL); > > setup_logging(argv[0],True); > >+ dbf = x_stderr; > > lp_load(dyn_CONFIGFILE,True,False,False); > load_interfaces(); >--- source/utils/smbtree.c.JL20040930 Thu Sep 30 21:33:22 2004 >+++ source/utils/smbtree.c Thu Sep 30 21:38:10 2004 >@@ -206,9 +206,9 @@ > > setlinebuf(stdout); > >- dbf = x_stderr; >- > setup_logging(argv[0],True); >+ >+ dbf = x_stderr; > > pc = poptGetContext("smbtree", argc, (const char **)argv, long_options, > POPT_CONTEXT_KEEP_FIRST);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1784
: 689