mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 12:12:11 +01:00
Add missing comment
Follow-up commit for f6f879d.
This commit is contained in:
parent
f6f879dac5
commit
0eecdaf830
@ -6677,6 +6677,8 @@ def unpack_srcrpm(srpm, dir, *files):
|
||||
with open(srpm, 'r') as fsrpm, open(os.devnull, 'w') as devnull:
|
||||
rpm2cpio_proc = subprocess.Popen(['rpm2cpio'], stdin=fsrpm,
|
||||
stdout=subprocess.PIPE)
|
||||
# XXX: shell injection is possible via the files parameter, but the
|
||||
# current osc code does not use the files parameter.
|
||||
cpio_proc = subprocess.Popen(['cpio', '-i'] + list(files),
|
||||
stdin=rpm2cpio_proc.stdout, stderr=devnull)
|
||||
rpm2cpio_proc.stdout.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user