diff options
author | 2019-10-25 16:53:10 +0200 | |
---|---|---|
committer | 2019-11-18 13:43:02 +0000 | |
commit | 9a28d175d429473f87c31e62073596237e6be6fb (patch) | |
tree | d159fbb4dabaadf1b095cfd42a34ea11fbdc906b /src/plugins/gtpu/gtpu_error.def | |
parent | 7fcc9062034226d1bff27ca8d2b46db6bd0a77aa (diff) |
gtpu: check packet has enough data for gtpu header
Type: fix
Change-Id: I604e4dd2b29962bfcd8e950a0074637dab53c79e
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 318fbfe89d4143824cec1ed81f9f7fbcddc21639)
Diffstat (limited to 'src/plugins/gtpu/gtpu_error.def')
-rw-r--r-- | src/plugins/gtpu/gtpu_error.def | 1 |
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") |