summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/pol/pft.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/unicast/pol/pft.c')
-rw-r--r--src/ipcpd/unicast/pol/pft.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/unicast/pol/pft.c b/src/ipcpd/unicast/pol/pft.c
index 924efbe1..53acc08e 100644
--- a/src/ipcpd/unicast/pol/pft.c
+++ b/src/ipcpd/unicast/pol/pft.c
@@ -149,6 +149,7 @@ int pft_insert(struct pft * pft,
struct list_head * p;
assert(pft);
+ assert(len > 0);
lookup_key = calc_key(pft, dst);