This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-kde/kate
Levi Neely 455d9c9190 kate: fix use-after-free crash in setupGhostProvider
m_ghost was parented to the view, so Qt parent-child cleanup could
destroy it when a view was replaced. The raw pointer remained non-null,
causing a double-free on the next viewChanged signal.

Fix by using QPointer<OllieGhostProvider> which auto-nulls on destroy.

Also replace qobject_cast with dynamic_cast for KF5 KTextEditor
interfaces to avoid crashes when qt_metacast accesses uninitialized
KateViewConfig during early view activation.
2026-07-15 11:06:20 +02:00
..
metadata.json phase 7c: Kate plugin 2026-07-06 00:05:51 +02:00
ollie_ghost.cpp kate: fix use-after-free crash in setupGhostProvider 2026-07-15 11:06:20 +02:00
ollie_ghost.h kate: add KF5 preprocessor guards for InlineNote and completion APIs 2026-07-15 09:59:56 +02:00
ollie_kate.cpp kate: fix use-after-free crash in setupGhostProvider 2026-07-15 11:06:20 +02:00
ollie_kate.h kate: fix use-after-free crash in setupGhostProvider 2026-07-15 11:06:20 +02:00