fixed coredump with certain handlers
FossilOrigin-Name: 3972a3bb1a9b3d96892dc15aa7f52a44c3e0915dfd37c8768a5f0e2adee07c11
This commit is contained in:
parent
0607147daa
commit
d599887e45
@ -4,8 +4,8 @@
|
||||
<Project Name="wtp" Path="wtp.project" Active="No"/>
|
||||
<Project Name="mod_cipwap" Path="mod_cipwap.project" Active="No"/>
|
||||
<Project Name="mod_capwap" Path="mod_capwap.project" Active="No"/>
|
||||
<Project Name="mod_cisco" Path="mod_cisco.project" Active="Yes"/>
|
||||
<Project Name="libcw" Path="libcw.project" Active="No"/>
|
||||
<Project Name="mod_cisco" Path="mod_cisco.project" Active="No"/>
|
||||
<Project Name="libcw" Path="libcw.project" Active="Yes"/>
|
||||
<Project Name="mod_capwap80211" Path="mod_capwap80211.project" Active="No"/>
|
||||
<Project Name="mod_fortinet" Path="mod_fortinet.project" Active="No"/>
|
||||
<BuildMatrix>
|
||||
|
@ -45,7 +45,7 @@ int cw_in_generic_indexed_enum(struct cw_ElemHandler * handler, struct cw_ElemHa
|
||||
sprintf(key,"%s/%u",handler->key,val);
|
||||
}
|
||||
|
||||
|
||||
memset(&thandler,0,sizeof(thandler));
|
||||
thandler.type=e->type;
|
||||
thandler.key=key;
|
||||
return e->fun_in(&thandler,params,elem_data+f,elem_len-l);
|
||||
|
Loading…
Reference in New Issue
Block a user