diff options
author | Ismael Luceno | 2022-04-18 19:37:30 +0200 |
---|---|---|
committer | Ismael Luceno | 2022-04-18 19:37:30 +0200 |
commit | 3611040264f1ca57ab75ccad4fd939f385715006 (patch) | |
tree | 8658134637a50bae08d14b7589132c99d785e5f7 /net | |
parent | 5ee12d4d4296d9e92d23a55877d81983730b4ad5 (diff) |
vpnc: Fix debug message format string
Diffstat (limited to 'net')
-rw-r--r-- | net/vpnc/HISTORY | 1 | ||||
-rw-r--r-- | net/vpnc/patches/0004-Fix-debug-message-format-string.patch | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net/vpnc/HISTORY b/net/vpnc/HISTORY index 4f9e05496c..b63baaef67 100644 --- a/net/vpnc/HISTORY +++ b/net/vpnc/HISTORY @@ -4,6 +4,7 @@ * patches/0001-Fix-build-against-musl-libc.patch: fixed musl build * patches/0002-Fix-cleanup-of-shared-secret.patch: fixed security issue * patches/0003-Fix-unused-variable-warnings.patch, + patches/0004-Fix-debug-message-format-string.patch: fixed minor issues * DETAILS: SECURITY_PATCH++ 2010-10-06 Eric Sandall <sandalle@sourcemage.org> diff --git a/net/vpnc/patches/0004-Fix-debug-message-format-string.patch b/net/vpnc/patches/0004-Fix-debug-message-format-string.patch new file mode 100644 index 0000000000..91cfcc1b4b --- /dev/null +++ b/net/vpnc/patches/0004-Fix-debug-message-format-string.patch @@ -0,0 +1,26 @@ +From f7cb5f93d85063590841d60bb10cf7b306d0c246 Mon Sep 17 00:00:00 2001 +From: Ismael Luceno <ismael@iodev.co.uk> +Date: Mon, 18 Apr 2022 19:07:40 +0200 +Subject: [PATCH 4/4] Fix debug message format string + +Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> +--- + isakmp-pkt.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/isakmp-pkt.c b/isakmp-pkt.c +index d241ad8c3a2a..0d5cb714fe3d 100644 +--- a/isakmp-pkt.c ++++ b/isakmp-pkt.c +@@ -820,7 +820,7 @@ struct isakmp_packet *parse_isakmp_packet(const uint8_t * data, size_t data_len, + } + + DEBUG(3, printf("BEGIN_PARSE\n")); +- DEBUG(3, printf("Recieved Packet Len: %d\n", data_len)); ++ DEBUG(3, printf("Recieved Packet Len: %zu\n", data_len)); + fetchn(r->i_cookie, ISAKMP_COOKIE_LENGTH); + hex_dump("i_cookie", r->i_cookie, ISAKMP_COOKIE_LENGTH, NULL); + fetchn(r->r_cookie, ISAKMP_COOKIE_LENGTH); +-- +2.35.3 + |