[kget] [Bug 444591] KGet crashes when attempting to download anything
Wolfgang Bauer
bugzilla_noreply at kde.org
Mon Jan 3 19:32:49 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=444591
Wolfgang Bauer <wbauer at tmo.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |21.12.1
Status|CONFIRMED |RESOLVED
Latest Commit| |https://invent.kde.org/netw
| |ork/kget/commit/13187db5a42
| |88ad5e852c851eec16ea6e0a8cc
| |d2
Resolution|--- |FIXED
--- Comment #23 from Wolfgang Bauer <wbauer at tmo.at> ---
Git commit 13187db5a4288ad5e852c851eec16ea6e0a8ccd2 by Wolfgang Bauer.
Committed on 03/01/2022 at 19:22.
Pushed by wbauer into branch 'release/21.12'.
Fix destination filesystem type check for downloads bigger than 4 GiB
`m_dest` is a QUrl, we need to use `toLocalFile()` to get a local path.
`toString()` results in a URL instead ("file://...") which causes the
mountpoint lookup to fail.
Also, the check whether the mountpoint was found was reversed. It
actually tried to compare the filesystem type when the mount point was
*not* found, resulting in a crash because of the nullptr dereference.
FIXED-IN: 21.12.1
M +3 -3 core/datasourcefactory.cpp
https://invent.kde.org/network/kget/commit/13187db5a4288ad5e852c851eec16ea6e0a8ccd2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KGet
mailing list