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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/drkonqi/-/commit/97390be |ma/drkonqi/-/commit/7e45b85
                   |3fe3e5e615c74fbdb41e53eaa2c |29f0f4846965dad86988dbaf423
                   |d26358                      |94969a

--- Comment #14 from Harald Sitter <sit...@kde.org> ---
Git commit 7e45b8529f0f4846965dad86988dbaf42394969a by Harald Sitter.
Committed on 05/06/2024 at 13:27.
Pushed by sitter into branch 'Plasma/6.1'.

polkit: correctly call fcntl

bit of a doozy this. fcntl requires a third argument as start position
for finding a free file descriptor. the previous incorrect call happened
to work in debug builds (presumably because the invalid memory would be
0x0) but failed in release builds (presumably because the invalid memory
would be some random large value).

explicitly set the target fd argument to at least 0 since we don't
really care what number the fd is so long as it is valid.
(cherry picked from commit 97390be3fe3e5e615c74fbdb41e53eaa2cd26358)

M  +1    -1    src/coredump/polkit/main.cpp

https://invent.kde.org/plasma/drkonqi/-/commit/7e45b8529f0f4846965dad86988dbaf42394969a

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

Reply via email to