| Summary: | Konsole use-after-free when dropping URLs, at least in some environments (e.g. GNOME) | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | triallax |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | alice, christoph, fanzhuyifan |
| Priority: | NOR | ||
| Version First Reported In: | 24.05.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/konsole/-/commit/cc628b2a50c0926386dd9fee9567bf6d5e74d047 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
triallax
2024-08-14 19:21:43 UTC
I see, the extractDroppedText call might invalidate that due to
KIO::StatJob *job = KIO::mostLocalUrl(urls[i], KIO::HideProgressInfo);
if (!job->exec()) {
continue;
}
ttps://github.com/chimera-linux/cports/blob/96d7d8642064298f87327492b09a722e1675a672/contrib/konsole/patches/drag-and-drop-urls.patch Git commit cc628b2a50c0926386dd9fee9567bf6d5e74d047 by Christoph Cullmann. Committed on 05/12/2024 at 22:29. Pushed by cullmann into branch 'master'. ensure we don't use an invalidated mimeData M +4 -2 src/terminalDisplay/TerminalDisplay.cpp https://invent.kde.org/utilities/konsole/-/commit/cc628b2a50c0926386dd9fee9567bf6d5e74d047 |