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

Bug #821706 reported by Daniel Nichter on 2011-08-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to

Bug Description

Imported from

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) on 2012-03-08
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

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers