1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/community/cpio/fix-bash-sequence-expression.patch
alpine-mips-patches 880aa1b5c0 community/cpio: add minor security fixes, fix tests
- add fixes for CVE-2016-2037, integer overflow and inconsistent
   argument passing to printf-like functions, all from upstream.
 - add autoconf to checkdepends as autom4te is required to create
   built-in tests from templates;
 - remove bash from checkdepends (as it is useless without passing
   CONFIG_SHELL=/bin/bash to ./configure anyway) and replace the
   bash-style sequence expression at tests/symlink-long.at:30 to
   resolve test failure;
 - disable NLS and make explicit other default ./configure options.
2018-12-27 10:21:48 +00:00

11 lines
230 B
Diff

--- a/tests/symlink-long.at
+++ b/tests/symlink-long.at
@@ -27,7 +27,7 @@
# len(dirname) > READBUFSIZE
dirname=
-for i in {1..52}; do
+for i in $(seq -s \ 52); do
dirname="xxxxxxxxx/$dirname"
mkdir "$dirname"
done