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

Bug #1603829 reported by Kenn Takara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Galera
New
Undecided
Unassigned
galera-3 (Ubuntu)
Won't Fix
Low
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.

Revision history for this message
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/

Revision history for this message
Otto Kekäläinen (otto) wrote :

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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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

Otto Kekäläinen (otto)
Changed in galera-3 (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Otto Kekäläinen (otto) wrote :

Status: the upstream issue is still open.

Revision history for this message
Otto Kekäläinen (otto) wrote :

There has not been any upstream progress here, so I will mark this now as wontfix, as for in Ubuntu there is nothing we can do about this now.

Changed in galera-3 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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