Skip to content
Commit ad0d83bd authored by Dima Ryazanov's avatar Dima Ryazanov
Browse files

Don't look for weston.ini in the current working directory



It's a bit surprising that Weston looks different when launched from the root
of the git repo vs from elsewhere.

But it's also technically a security vulnerability: if I launch it from
a directory like /tmp, it might pick up a weston.ini created by another user,
which could then load modules with arbitrary code. Basically, it's the same
problem as including "." in $PATH.

Signed-off-by: default avatarDima Ryazanov <dima@gmail.com>
parent 61eb170b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment