Skip to content
Commit 661ae020 authored by Philip Withnall's avatar Philip Withnall
Browse files

gdesktopappinfo: Validate XDG_CURRENT_DESKTOP before using it



Its components are used to build filenames, so if the value of
`XDG_CURRENT_DESKTOP` comes from an untrusted caller (as can happen in
setuid programs), using it unvalidated may be unsafe.

Signed-off-by: default avatarPhilip Withnall <pwithnall@endlessos.org>

Helps: #2168
parent b52da3d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment