pacman/scripts
Eli Schwartz a745d97c17 makepkg: protect against unexpected whitespace in filenames
zipman:

read -r protects against those evil manpages whose filenames contain
backslash escapes, (muahahaha?)

IFS= read protects against filenames with:

- leading whitespace (but no one is actually stupid enough to configure
  their MAN_DIRS=() in makepkg.conf with such silly directories, *right*?)

- trailing whitespace (but likewise, no one should be stupid enough to
  write an uncompressed manpage for section '1 ' or something)

Also fix several other cases where we read filenames without protecting
against surrounding whitespace, or without using null-delimited
filenames when we could trivially do so.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-10-30 09:47:28 +10:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg: protect against unexpected whitespace in filenames 2019-10-30 09:47:28 +10:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +10:00
po Final translation updates for pacman-5.2.0 2019-10-21 17:25:29 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
Makefile.am Fix distribution of meson files 2019-10-22 09:25:49 +10:00
makepkg-template.pl.in Update copyright years 2019-10-23 22:06:54 +10:00
makepkg.sh.in makepkg: protect against unexpected whitespace in filenames 2019-10-30 09:47:28 +10:00
meson.build libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
pacman-db-upgrade.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
pacman-key.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
repo-add.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
wrapper.sh.in Update copyright years 2019-10-23 22:06:54 +10:00