From 880aa1b5c01e1e14f9295a953dbf37cbd08d24a9 Mon Sep 17 00:00:00 2001 From: alpine-mips-patches Date: Thu, 20 Dec 2018 14:06:58 +0000 Subject: 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. --- community/cpio/fix-bash-sequence-expression.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/cpio/fix-bash-sequence-expression.patch (limited to 'community/cpio/fix-bash-sequence-expression.patch') diff --git a/community/cpio/fix-bash-sequence-expression.patch b/community/cpio/fix-bash-sequence-expression.patch new file mode 100644 index 0000000000..a2eab0f261 --- /dev/null +++ b/community/cpio/fix-bash-sequence-expression.patch @@ -0,0 +1,11 @@ +--- 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 -- cgit v1.2.3