tint: upgrade the outdated tint payload from 0.03b to 0.04+nmu1

Fixes two buffer overflows and opens a road to further improvements.
All the previous adjustments to libpayload_tint.patch (including the
latest "use the current time as random seed") have been preserved.

Change-Id: I22e65d18a0b1551f7049c4afe7f95868f584cf9b
Signed-off-by: Mike Banon <mikebdp2@gmail.com>
Reviewed-on: https://review.coreboot.org/23852
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Mike Banon
2018-02-23 19:14:06 +03:00
committed by Patrick Georgi
parent f6d14773b2
commit a16cffe480
2 changed files with 116 additions and 634 deletions

View File

@@ -1,5 +1,5 @@
project_url=http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool/main/t/tint/tint_0.03b.tar.gz
archive_name=tint_0.03b.tar.gz
project_url=http://http.debian.net/debian/pool/main/t/tint/tint_0.04+nmu1.tar.gz
archive_name=tint_0.04+nmu1.tar.gz
unexport KCONFIG_AUTOHEADER
unexport KCONFIG_AUTOCONFIG
@@ -16,13 +16,17 @@ tint: patch
patch: download
cd tint; \
if [ -e debian ]; then patch -l -p1 < ../libpayload_tint.patch; fi
if [ -e debian ]; then \
rm -rf debian typedefs.h Makefile; \
touch Makefile; \
patch -l -p1 < ../libpayload_tint.patch; \
fi
download:
test -d tint || { wget $(project_url); \
tar -xvf $(archive_name); \
rm $(archive_name); \
mv tint-0.03b tint; }
mv tint-0.04+nmu1 tint; }
clean:
test -d tint && $(MAKE) -C tint clean || exit 0