summaryrefslogtreecommitdiffstats
path: root/src/plugins/gtpu/gtpu_error.def
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-10-25 16:53:10 +0200
committerNeale Ranns <nranns@cisco.com>2019-11-13 15:51:44 +0000
commit318fbfe89d4143824cec1ed81f9f7fbcddc21639 (patch)
tree7c8679932e687b2b501c6a8250396688ac9832a9 /src/plugins/gtpu/gtpu_error.def
parent06c194d91b6d2d888ed2b0c5cf0df1cdbc7c53a4 (diff)
gtpu: check packet has enough data for gtpu header
Type: fix Change-Id: I604e4dd2b29962bfcd8e950a0074637dab53c79e Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/gtpu/gtpu_error.def')
-rw-r--r--src/plugins/gtpu/gtpu_error.def1
1 files changed, 1 insertions, 0 deletions
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")