x11-misc/sddm-0.18.0 is creating a random 2-character directory in my $HOME directory for the xorg-session.log file. The result is something like $HOME/6V/.local/share/sddm/xorg-session.log. The "6V" changes on every login using sddm, though the last character is usually either 'U' or 'V'. This appears to be caused by a use-after-free issue with a buffer allocated for getpwnam_r(). Upstream has patched this in the develop branch by replacing the manually-managed buffer with a QScopedPointer: https://github.com/sddm/sddm/commit/047ef56e5cfa757ebfcb03a248edad579564b5f3 Reproducible: Always Steps to Reproduce: 1. Log in using sddm. Actual Results: $HOME/xx/.local/share/sddm/xorg-session.log is created, where "xx" is two random characters. Expected Results: $HOME/.local/share/sddm/xorg-session.log is created.
On the linked issue, upstream is talking about making a release. Let's give them a few days to do this, and if we don't hear anything further we can backport.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400dc109526e36fb9f206a49fedf7e9f87a84d79 commit 400dc109526e36fb9f206a49fedf7e9f87a84d79 Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2019-03-31 09:03:22 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2019-03-31 09:03:54 +0000 x11-misc/sddm: version bump 0.18.1 Closes: https://bugs.gentoo.org/679890 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org> x11-misc/sddm/Manifest | 1 + x11-misc/sddm/sddm-0.18.1.ebuild | 96 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+)