Skip to content

ccm warning about Insecure $ENV{ENV} #201

Open
@ned21

Description

@ned21

$ ccm --version
Insecure $ENV{ENV} while running with -T switch at /usr/lib/perl/LC/Process.pm line 475.
This is ccm version 18.3.0
$ ccm /system/personality/host_environment 2>/dev/null
Insecure $ENV{ENV} while running with -T switch at /usr/lib/perl/LC/Process.pm line 475.
$ host_environment : 'dev'

This makes it difficult to use ccm in scripts. Looking at the ccm code, it looks like we sanitise $PATH so I'm not sure what's happening here - do we need to clear the environment entirely?

27 # minimal Path
28 $ENV{PATH} = join(":", qw(/bin /usr/bin /sbin /usr/sbin));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions