diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-25 22:00:58 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 03:35:34 +0100 |
commit | 5a5e712c749edb8bca448f119769d8bbe381c348 (patch) | |
tree | 8c1e9886295615f7b96628b5dab1cd58a11af637 /lib | |
parent | 8e736e1c9a4fb4ba375fe1f02be9e956f5f472d9 (diff) | |
download | pacman-5a5e712c749edb8bca448f119769d8bbe381c348.tar.gz pacman-5a5e712c749edb8bca448f119769d8bbe381c348.tar.xz |
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 'lib')
0 files changed, 0 insertions, 0 deletions