• Yong Tang's avatar
    Fix security scans by cleaning up file path (#5185) · c6709d93
    Yong Tang authored
    While performing security scans there were several
    issue raised as G304 (CWE-22): Potential file inclusion via variable.
    As some files path are taken from user input, it is possible the
    filepath passed by user may have unintended effect if not properly formed.
    This fix add Clean to remove the security warning and address some
    potential issue.
    Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
    c6709d93
setup.go 3.03 KB