SonarOpenCommunity / sonar-cxx

Audit: Starting a process with a partial executable path BAN-B607
Security
Minor
7 months ago3 years old
Starting a process with a partial executable path
300
301
302def rstfile_to_description(path, filename, fix_urls):
303    html = subprocess.check_output(304        ['pandoc', path, '--no-highlight', '-f', 'rst', '-t', 'html5'])305    footer = """<h2>References</h2>
306<p><a href="%s%s.html" target="_blank">clang.llvm.org</a></p>""" % (CLANG_TIDY_DOC_URL_BASE, filename)
307    if fix_urls: