Skip to content

aggregator: fix use-after-free in queries processing

The problem appears when aggregator drops the query while it's being proccessed by the klass->sink_query handler. This can happen on FLUSH_START event. If the query is still in the queue, it can be safely dropped, but if it's already in the klass->sink_query() handler, then sink pad has no choice and has to wait for the proccessing to complete.

Edited by Alexander Slobodeniuk

Merge request reports