maximilianocuria updated this revision to Diff 33663. maximilianocuria added a comment.
A somewhat simpler version, just delay the close(2) call. I was testing this and trying to look for some documentation about the use of the fds in pam modules. I'm pretty sure that you can't keep them, but I've found anything that talks about this. REPOSITORY R107 KWallet PAM Integration CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D12702?vs=33657&id=33663 BRANCH cve_bugfix (branched from master) REVISION DETAIL https://phabricator.kde.org/D12702 AFFECTED FILES pam_kwallet.c To: maximilianocuria, #plasma, aacid Cc: davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart