Linux Steam players should not move the Steam directory
Rick Moen
rick at deirdre.net
Fri Jan 16 14:28:00 PST 2015
On Fri, Jan 16, 2015 at 2:04 PM, Samir Faci <samir at esamir.com> wrote:
> The issue is that
>
> "$STEAMROOT/" becomes / when it's unset.
OK, yeah. But in context that's just as bad.
> What they should have done is check if the parameter is set and error out
> way before using the variable.
Quite so. An environment variable used in a recursive rm should not
be simply assumed to be set.
People who do that probably can't be trusted to do other basic things
like input validation, bounds checking, and so on, either.
More information about the sf-lug
mailing list