~variety/variety/trunk

Viewing all changes in revision 614.

  • Committer: James Lu
  • Date: 2017-09-10 18:05:57 UTC
  • Revision ID: james@overdrivenetworks.com-20170910180557-jhgflei9nys7lwm7
Fix shell injection on deleting to trash via specially crafted filenames

Rewrite this code in subprocess.call (which doesn't spawn a shell by default), and explicitly check whether trash programs are installed before running them.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: