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

--- Comment #10 from Jack Hill <jackhill3...@gmail.com> ---
Git commit 87ef42ed7864582c7c9899def66ab56d656aa8a3 by Jack Hill.
Committed on 07/06/2024 at 19:58.
Pushed by jackh into branch 'master'.

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

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/87ef42ed7864582c7c9899def66ab56d656aa8a3

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

Reply via email to