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

Reported by Daniel Nichter on 2011-08-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
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) 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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers