|
Description
|
In proto_plugin_init(), line 143:
for (i = 0, tmp = sap_proto_list;
i < num_protos;
tmp = tmp->plugin_next) {
err = 0;
if (tmp->plugin_ops->sa_init != NULL)
err = tmp->plugin_ops->sa_init();
if (err == SA_OK) {
/*
* Only include if the init
* succeeded or was NULL
*/
sa_proto_handle.sa_num_proto++;
sa_proto_handle.sa_ops[i] =
tmp->plugin_ops;
sa_proto_handle.sa_proto[i] =
tmp->plugin_ops->sa_protocol;
i++;
}
}
If sa_init() fails for a given protocol, i will not be incremented, and the for loop will walk off the end of the list.
I'll upload a core to /net/zion.sfbay/cores/<bug ID>.
|