https://bugs.kde.org/show_bug.cgi?id=473488
--- Comment #19 from Méven <me...@kde.org> ---
Git commit b184cad07de7cefe9bccff500ad6b022ce3018c1 by Méven Car.
Committed on 27/03/2024 at 11:06.
Pushed by meven into branch 'master'.

KCoreDirListerCache:: make sure not to reinsert an item twice

In slotUpdateResult and processPendingUpdates.

pendingUpdates can be updated in KCoreDirListerCache::slotFilesChanged
called synchrounously when file on disk are changed or asynchrously when
its parent directory is scanned for whatever reason. It can happen that
the pendingUpdateTimer triggers as the file is updated, this may cause
reinsert for the same url, the second one causing a crash.

Not 100% sure this is sufficient to fix the crash, so only CC.

M  +17   -3    src/core/kcoredirlister.cpp

https://invent.kde.org/frameworks/kio/-/commit/b184cad07de7cefe9bccff500ad6b022ce3018c1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to