https://bugs.kde.org/show_bug.cgi?id=484972

--- Comment #11 from Jack Hill <jackhill3...@gmail.com> ---
Git commit 246178d77c77f89a430829e5113ffd20805acb54 by Jack Hill.
Committed on 08/06/2024 at 11:10.
Pushed by ngraham into branch 'release/24.05'.

Fix potential crash when enqueueing from empty files view

If the current folder is empty, then mPendingEntries will be empty. Calling
front on an empty queue is undefined behaviour, and can result in a crash.

Test-plan: added an autotest
Related: bug 441525
(cherry picked from commit 87ef42ed7864582c7c9899def66ab56d656aa8a3)

M  +11   -0    autotests/CMakeLists.txt
A  +86   -0    autotests/filebrowserproxymodeltest.cpp     [License:
LGPL(v3.0+)]
M  +6    -7    src/models/filebrowserproxymodel.cpp

https://invent.kde.org/multimedia/elisa/-/commit/246178d77c77f89a430829e5113ffd20805acb54

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

Reply via email to