https://bugs.kde.org/show_bug.cgi?id=487727
Harald Sitter <sit...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/drkonqi/-/commit/97390be | |3fe3e5e615c74fbdb41e53eaa2c | |d26358 Status|REPORTED |RESOLVED --- Comment #11 from Harald Sitter <sit...@kde.org> --- Git commit 97390be3fe3e5e615c74fbdb41e53eaa2cd26358 by Harald Sitter. Committed on 05/06/2024 at 13:24. Pushed by sitter into branch 'master'. 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. M +1 -1 src/coredump/polkit/main.cpp https://invent.kde.org/plasma/drkonqi/-/commit/97390be3fe3e5e615c74fbdb41e53eaa2cd26358 -- You are receiving this mail because: You are watching all bug changes.