From 9a28d175d429473f87c31e62073596237e6be6fb Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Fri, 25 Oct 2019 16:53:10 +0200 Subject: gtpu: check packet has enough data for gtpu header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: fix Change-Id: I604e4dd2b29962bfcd8e950a0074637dab53c79e Signed-off-by: Benoît Ganne (cherry picked from commit 318fbfe89d4143824cec1ed81f9f7fbcddc21639) --- src/plugins/gtpu/gtpu_error.def | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/gtpu/gtpu_error.def') diff --git a/src/plugins/gtpu/gtpu_error.def b/src/plugins/gtpu/gtpu_error.def index 093a886ff33..4351529ef25 100644 --- a/src/plugins/gtpu/gtpu_error.def +++ b/src/plugins/gtpu/gtpu_error.def @@ -16,3 +16,4 @@ gtpu_error (DECAPSULATED, "good packets decapsulated") gtpu_error (NO_SUCH_TUNNEL, "no such tunnel packets") gtpu_error (BAD_VER, "packets with bad version in gtpu header") gtpu_error (BAD_FLAGS, "packets with bad flags field in gtpu header") +gtpu_error (TOO_SMALL, "packet too small to fit a gtpu header") -- cgit 1.2.3-korg