Skip to content
Verified Commit d8f8fa1d authored by James McCoy's avatar James McCoy
Browse files

licensecheck: Separate filename from args in file call



This prevents the situation where $file happens to be a valid switch
for the file command (e.g. -C) which causes side-effects.  If properly
setup, it's possible to cause file to traverse a symlink and overwrite a
file.

Closes: #794365, CVE-2015-5705
Signed-off-by: default avatarJames McCoy <jamessan@debian.org>
parent 55a22e00
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment