pt-query-digest --watch-server may crash

Bug #821706 reported by Daniel Nichter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Triaged
Undecided
Unassigned

Bug Description

Imported from http://code.google.com/p/maatkit/issues/detail?id=1202

Quoting the original:

The problem is in ProtocolParser::_get_session(): this sub will return early if the server in the packet doesn't match --watch-server. Then in _parse_packet() we have:

   if ( $packet_from eq 'server' ) {

but $packet_from will be undef if _get_session() returned early. Fix: check retval of _get_session().

tags: added: crash
Brian Fraser (fraserbn)
Changed in percona-toolkit:
status: New → Triaged
Changed in percona-toolkit:
milestone: none → 2.1.9
importance: Low → High
assignee: nobody → Daniel Nichter (daniel-nichter)
Changed in percona-toolkit:
importance: High → Undecided
assignee: Daniel Nichter (daniel-nichter) → nobody
milestone: 2.1.9 → none
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/PT-869

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.