git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5717114
)
Fix a crash in libnss_wins
author
Volker Lendecke
<vl@samba.org>
Tue, 28 Dec 2010 16:05:18 +0000
(17:05 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 28 Dec 2010 16:11:33 +0000
(17:11 +0100)
lp_set_parm accesses the case tables
nsswitch/wins.c
patch
|
blob
|
history
diff --git
a/nsswitch/wins.c
b/nsswitch/wins.c
index 731efcb4481c74e14ed52f7e4c1c957010936c4b..276724dc36f5c90aa062be731b2404e83f448499 100644
(file)
--- a/
nsswitch/wins.c
+++ b/
nsswitch/wins.c
@@
-94,11
+94,11
@@
static int wins_lookup_open_socket_in(void)
static void nss_wins_init(void)
{
initialised = 1;
+ load_case_tables();
lp_set_cmdline("log level", "0");
TimeInit();
setup_logging("nss_wins",False);
- load_case_tables();
lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
load_interfaces();
}