kumquat-buildroot/package/socat/0002-ptrdiff_t-is-defined-in-stddef.h.patch
Gustavo Zacarias 8b1c4583ec socat: security bump to version 2.0.0-b9
Fixes:
Socat security advisory 7 and MSVR-1499: "Bad DH p parameter in OpenSSL"
Socat security advisory 8: "Stack overflow in arguments parser"

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-07 15:51:32 +01:00

29 lines
637 B
Diff

From 99c55f2694fe8621ca2344eb002610dac7f9c969 Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Tue, 2 Feb 2016 09:34:24 -0300
Subject: [PATCH] ptrdiff_t is defined in stddef.h
Status: sent upstream via email.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
nestlex.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nestlex.c b/nestlex.c
index f7950f0..f49482d 100644
--- a/nestlex.c
+++ b/nestlex.c
@@ -4,6 +4,8 @@
/* a function for lexical scanning of nested character patterns */
+#include <stddef.h> /* ptrdiff_t */
+
#include "config.h"
#include "mytypes.h"
--
2.4.10