graphite-project / carbon

Audit required: External control of file name or path PTC-W6004
Security
Minor
8 months ago8 months old
External variable 'fname' used in file path
 73install_files += init_scripts
 74
 75def read(fname):
 76    with open(os.path.join(os.path.dirname(__file__), fname)) as f: 77        return f.read()
 78
 79try: