diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-25 16:00:58 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 12:35:34 +1000 |
commit | 5a5e712c749edb8bca448f119769d8bbe381c348 (patch) | |
tree | 8c1e9886295615f7b96628b5dab1cd58a11af637 /test/pacman/tests/query004.py | |
parent | 8e736e1c9a4fb4ba375fe1f02be9e956f5f472d9 (diff) |
pkgdelta: avoid use of eval and IFS manipulation
Instead of blindly consuming data from the .PKGINFO file, parse it more
closely and only declare variables as needed.
Should help to avoid nonsensical errors and possibly dangerous command
execution as seen in FS#32852.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/query004.py')
0 files changed, 0 insertions, 0 deletions