mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
tcpreplay: bump to version 4.5.1
Dropped CVE patch. It's included. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
e7badaa6cb
commit
c986d6758f
@@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tcpreplay
|
||||
PKG_VERSION:=4.4.4
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=4.5.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
|
||||
PKG_HASH:=3ff9753cc43bb15e77832cee657e3030dbcdd957fa247e6abacc605689e24051
|
||||
PKG_HASH:=5126613f783062b43f514b05ad981376050a8fee35b03c8de4445ddeefd95049
|
||||
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE_FILES:=docs/LICENSE
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
From 55ad9d1d701e644ed5b8821456e31acf2e72920c Mon Sep 17 00:00:00 2001
|
||||
From: Gabriel Ganne <gabriel.ganne@gmail.com>
|
||||
Date: Sun, 28 Jan 2024 10:02:30 +0100
|
||||
Subject: [PATCH] allow recursice call to tcpedit_dlt_cleanup()
|
||||
|
||||
This is just a quick hack to prevent a double-free should
|
||||
tcpedit_dlt_cleanup() call itself, which can hapen through dlt_jnpr_ether_cleanup()
|
||||
|
||||
Ref: #813
|
||||
---
|
||||
src/tcpedit/plugins/dlt_jnpr_ether/jnpr_ether.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/src/tcpedit/plugins/dlt_jnpr_ether/jnpr_ether.c
|
||||
+++ b/src/tcpedit/plugins/dlt_jnpr_ether/jnpr_ether.c
|
||||
@@ -164,8 +164,10 @@ dlt_jnpr_ether_cleanup(tcpeditdlt_t *ctx
|
||||
jnpr_ether_config_t *config;
|
||||
|
||||
config = (jnpr_ether_config_t *)ctx->encoder->config;
|
||||
- if (config->subctx != NULL)
|
||||
+ if (config->subctx != NULL) {
|
||||
+ ctx->decoded_extra = NULL;
|
||||
tcpedit_dlt_cleanup(config->subctx);
|
||||
+ }
|
||||
safe_free(plugin->config);
|
||||
plugin->config = NULL;
|
||||
plugin->config_size = 0;
|
||||
Reference in New Issue
Block a user