mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/tcpreplay: security bump to version 4.3.4
- heap buffer overflow in tcpreplay fast_edit_packet
- heap buffer overflow in tcpreplay get_next_packet
- CVE-2020-24266 heap buffer overflow in tcpprep get_l2len
- CVE-2020-24265 heap buffer overflow in tcpprep
- Drop patch (already in version) and so autoreconf
- Update hash of license file (http -> https with
ad8a180053)
https://github.com/appneta/tcpreplay/releases/tag/v4.3.4
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
eea8ba446c
commit
cd5191efd9
@@ -1,76 +0,0 @@
|
|||||||
From acee9c0c46f71f1f4c33c2dadf69d19e24b90f27 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
||||||
Date: Tue, 13 Aug 2019 20:19:23 +0200
|
|
||||||
Subject: [PATCH] configure.ac: fix --without-libdnet
|
|
||||||
|
|
||||||
Allow the user to disable libdnet check through --without-libdnet.
|
|
||||||
This option is useful to cross-compile tcpreplay to avoid build failures
|
|
||||||
if libdnet is installed on host but not on target, see
|
|
||||||
https://bugs.buildroot.org/show_bug.cgi?id=12096
|
|
||||||
|
|
||||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
||||||
[Upstream status: https://github.com/appneta/tcpreplay/pull/567]
|
|
||||||
---
|
|
||||||
configure.ac | 48 +++++++++++++++++++++++++-----------------------
|
|
||||||
1 file changed, 25 insertions(+), 23 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 39ba58b7..5de3dcb5 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1464,30 +1464,32 @@ if test $have_cygwin = no ; then
|
|
||||||
AC_HELP_STRING([--with-libdnet=DIR], [Use libdnet in DIR]),
|
|
||||||
[trydnetdir=$withval])
|
|
||||||
|
|
||||||
- case "$build_os" in
|
|
||||||
- linux*)
|
|
||||||
- dnl # Debian/Ubuntu already have a package called libdnet
|
|
||||||
- dnl # so you the package you want to install libdumbnet-dev
|
|
||||||
- for testdir in $trydnetdir /usr/local /opt/local /usr ; do
|
|
||||||
- if test -x ${testdir}/bin/dumbnet-config -a $founddnet = no ; then
|
|
||||||
- LDNETINC="$($testdir/bin/dumbnet-config --cflags)"
|
|
||||||
- LDNETLIB="$($testdir/bin/dumbnet-config --libs)"
|
|
||||||
- libdnet_version="$($testdir/bin/dumbnet-config --version) (libdumbnet)"
|
|
||||||
- founddnet=$testdir
|
|
||||||
- fi
|
|
||||||
- done
|
|
||||||
- ;;
|
|
||||||
- esac
|
|
||||||
+ if test $trydnetdir != no; then
|
|
||||||
+ case "$build_os" in
|
|
||||||
+ linux*)
|
|
||||||
+ dnl # Debian/Ubuntu already have a package called libdnet
|
|
||||||
+ dnl # so you the package you want to install libdumbnet-dev
|
|
||||||
+ for testdir in $trydnetdir /usr/local /opt/local /usr ; do
|
|
||||||
+ if test -x ${testdir}/bin/dumbnet-config -a $founddnet = no ; then
|
|
||||||
+ LDNETINC="$($testdir/bin/dumbnet-config --cflags)"
|
|
||||||
+ LDNETLIB="$($testdir/bin/dumbnet-config --libs)"
|
|
||||||
+ libdnet_version="$($testdir/bin/dumbnet-config --version) (libdumbnet)"
|
|
||||||
+ founddnet=$testdir
|
|
||||||
+ fi
|
|
||||||
+ done
|
|
||||||
+ ;;
|
|
||||||
+ esac
|
|
||||||
|
|
||||||
- if test $founddnet = no ; then
|
|
||||||
- for testdir in $trydnetdir /usr/local /opt/local $MACOSX_SDK_PATH/usr /usr ; do
|
|
||||||
- if test -x ${testdir}/bin/dnet-config -a $founddnet = no ; then
|
|
||||||
- LDNETINC="$($testdir/bin/dnet-config --cflags)"
|
|
||||||
- LDNETLIB="$($testdir/bin/dnet-config --libs)"
|
|
||||||
- libdnet_version="$($testdir/bin/dnet-config --version)"
|
|
||||||
- founddnet=$testdir
|
|
||||||
- fi
|
|
||||||
- done
|
|
||||||
+ if test $founddnet = no ; then
|
|
||||||
+ for testdir in $trydnetdir /usr/local /opt/local $MACOSX_SDK_PATH/usr /usr ; do
|
|
||||||
+ if test -x ${testdir}/bin/dnet-config -a $founddnet = no ; then
|
|
||||||
+ LDNETINC="$($testdir/bin/dnet-config --cflags)"
|
|
||||||
+ LDNETLIB="$($testdir/bin/dnet-config --libs)"
|
|
||||||
+ libdnet_version="$($testdir/bin/dnet-config --version)"
|
|
||||||
+ founddnet=$testdir
|
|
||||||
+ fi
|
|
||||||
+ done
|
|
||||||
+ fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $founddnet = no ; then
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# Locally calculated after checking pgp signature
|
# Locally calculated after checking pgp signature
|
||||||
# https://github.com/appneta/tcpreplay/releases/download/v4.3.3/tcpreplay-4.3.3.tar.xz.asc
|
# https://github.com/appneta/tcpreplay/releases/download/v4.3.4/tcpreplay-4.3.4.tar.xz.asc
|
||||||
# using key 84E4FA215C934A7D97DC76D5E9E2149793BDE17E
|
# using key 84E4FA215C934A7D97DC76D5E9E2149793BDE17E
|
||||||
sha256 5e960e2a4432f583adbd11fa0855d17b73d9e0f2d6453b749f27aacaee53bab5 tcpreplay-4.3.3.tar.xz
|
sha256 42c055106e55852c29d94bb6e1b9e001a0723349f2985eb893a47d384c85002b tcpreplay-4.3.4.tar.xz
|
||||||
sha256 5971b0c544622f4b210a9cc56436a970685d3b0666e373c09e3cf9304db15d05 docs/LICENSE
|
sha256 07cf5e92d475287a7d1663b33097f40cae5adf03ed8920fcd4374e3dfb48c8ad docs/LICENSE
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
TCPREPLAY_VERSION = 4.3.3
|
TCPREPLAY_VERSION = 4.3.4
|
||||||
TCPREPLAY_SITE = https://github.com/appneta/tcpreplay/releases/download/v$(TCPREPLAY_VERSION)
|
TCPREPLAY_SITE = https://github.com/appneta/tcpreplay/releases/download/v$(TCPREPLAY_VERSION)
|
||||||
TCPREPLAY_SOURCE = tcpreplay-$(TCPREPLAY_VERSION).tar.xz
|
TCPREPLAY_SOURCE = tcpreplay-$(TCPREPLAY_VERSION).tar.xz
|
||||||
TCPREPLAY_LICENSE = GPL-3.0
|
TCPREPLAY_LICENSE = GPL-3.0
|
||||||
@@ -15,8 +15,6 @@ TCPREPLAY_CONF_ENV = \
|
|||||||
TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr \
|
TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr \
|
||||||
--enable-pcapconfig
|
--enable-pcapconfig
|
||||||
TCPREPLAY_DEPENDENCIES = libpcap
|
TCPREPLAY_DEPENDENCIES = libpcap
|
||||||
# We're patching configure.ac
|
|
||||||
TCPREPLAY_AUTORECONF = YES
|
|
||||||
|
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no
|
TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no
|
||||||
|
|||||||
Reference in New Issue
Block a user