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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/2c2f7a848006361a1e9d719de
                   |                            |05d2ffcc633205c

--- Comment #20 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 2c2f7a848006361a1e9d719de05d2ffcc633205c by David Edmundson.
Committed on 13/11/2024 at 09:31.
Pushed by davidedmundson into branch 'master'.

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

M  +6    -2    ksmserver/server.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/2c2f7a848006361a1e9d719de05d2ffcc633205c

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

Reply via email to