Blame SOURCES/0015-CVE-2018-19519-tcpdump-stack-based-buffer-over-read.patch

1869f5
From bbae61cda27b8d565456c95a697d9e7ed3298937 Mon Sep 17 00:00:00 2001
1869f5
From: rpm-build <rpm-build>
1869f5
Date: Tue, 8 Oct 2019 14:32:32 +0200
1869f5
Subject: [PATCH] 
1869f5
 0015-CVE-2018-19519-tcpdump-stack-based-buffer-over-read.patch
1869f5
1869f5
---
1869f5
 print-hncp.c | 2 ++
1869f5
 1 file changed, 2 insertions(+)
1869f5
1869f5
diff --git a/print-hncp.c b/print-hncp.c
1869f5
index 11a6a93..7537a0d 100644
1869f5
--- a/print-hncp.c
1869f5
+++ b/print-hncp.c
1869f5
@@ -229,6 +229,8 @@ print_prefix(netdissect_options *ndo, const u_char *prefix, u_int max_length)
1869f5
         plenbytes += 1 + IPV4_MAPPED_HEADING_LEN;
1869f5
     } else {
1869f5
         plenbytes = decode_prefix6(ndo, prefix, max_length, buf, sizeof(buf));
1869f5
+        if (plenbytes < 0)
1869f5
+            return plenbytes;
1869f5
     }
1869f5
 
1869f5
     ND_PRINT((ndo, "%s", buf));
1869f5
-- 
1869f5
2.21.0
1869f5