https://bugs.kde.org/show_bug.cgi?id=491130
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/2c2f7a848006361a1e9d719de |t/8ee3defdf81e9b5ad3edef498 |05d2ffcc633205c |d04fca0f4289e4a --- Comment #22 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit 8ee3defdf81e9b5ad3edef498d04fca0f4289e4a by David Edmundson, on behalf of David Edmundson. Committed on 18/11/2024 at 10:05. Pushed by davidedmundson into branch 'Plasma/6.2'. ksmserver: Fix copying of auth data Despite IceGenerateMagicCookie returning null terminated char*, the data itself is pure data may contain null bytes. For this reason we must copy the entire data_length, and not use string functions. This fixes a bug where 1 in 10 logins would not have working session management if the generated data happened to contain a null byte. Thanks to Matt Whitlock k...@mattwhitlock.name (cherry picked from commit 2c2f7a848006361a1e9d719de05d2ffcc633205c) c567ada7 ksmserver: Fix copying of auth data Co-authored-by: David Edmundson <k...@davidedmundson.co.uk> M +6 -2 ksmserver/server.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/8ee3defdf81e9b5ad3edef498d04fca0f4289e4a -- You are receiving this mail because: You are watching all bug changes.