Galera crashes with INVALID/OVERFLOW values for repl.proto_max and repl.max_ws_size

Bug #1603829 reported by Kenn Takara on 2016-07-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Galera
Undecided
Unassigned
galera-3 (Ubuntu)
Undecided
Unassigned

Bug Description

When setting the value for repl.proto_max and repl.max_ws_size, setting the value to an invalid or overflow value will crash.

These two variables are parsed in the constructor for galera::ReplicatorSMM, thus if the parse of the option fails an exception is thrown, which then causes the system to abort (with no helpful message).

Repro:
    Set "wsrep_provider_options=repl.proto_max=1125899906842624"

Expect:
expect this not to crash, I would expect an error message and maybe setting the value to the max/min value.

Otto Kekäläinen (otto) wrote :

This does not seem to be a packaging related issue. Please report this issue upstream and then edit the metadata of this bug report to point to the upstream issue.

https://github.com/codership/galera/

Otto Kekäläinen (otto) wrote :

This has been filed upstream in https://github.com/codership/galera/issues/416

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-619

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.