Skip to content

Commit fe2794c

Browse files
committed
Fix a hanging bug in unzipper
1 parent 2af25a3 commit fe2794c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/safe_unzipper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class SafeUnzipper
44
def unzip(zip_path, dest_dir)
55
dest_dir = File.absolute_path(dest_dir)
66
# Ideally we'd protect against `unzip` exploits too by running in a sandbox
7-
SystemCommands.sh!('unzip', '-qq', zip_path, '-d', dest_dir)
7+
SystemCommands.sh!('unzip', '-qqu', zip_path, '-d', dest_dir)
88
clean_up(dest_dir, dest_dir)
99
end
1010

0 commit comments

Comments
 (0)