void InputEngine::ResetForRulebased() {
  auto& context = channel_receivers_.current_context();
  auto& engine = context.get()->engine;
  if (engine) {
    engine->Reset();
  }
}

The product reads data past the end, or before the beginning, of the intended buffer.