Hello,

In totem_config_read() the ringnumber is used as interface index which
I think is incorrect.

Anyway it is incompatible with totem_config_validate() later on which
uses
a simple running index.

To trig the fault, simply use a single ringnumber != 0;

totem {
        version: 2
        secauth: off
        threads: 0
        interface {
                ringnumber: 1
                bindnetaddr: 192.168.1.1
                mcastaddr: 226.94.1.1
                mcastport: 5405
        }
}

and you get a "No multicast port...." error.
(an insane ringnumber will probably cause a segv.)

Work-around: use ringnumber: 0

Best Regards,
Lars Ekman
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to