aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nsim/nsim_input.c
diff options
context:
space:
mode:
authorKingwel Xie <kingwel.xie@ericsson.com>2018-12-25 21:31:28 -0500
committerKingwel Xie <kingwel.xie@ericsson.com>2019-01-21 03:40:39 +0000
commit955ee280280e09b73621119f5753a38ce5173989 (patch)
treefdf98a8647341919736661ff20bfe423104f8641 /src/plugins/nsim/nsim_input.c
parenta5c308e68d5578e5d75327619e30d73a95abb1a5 (diff)
crypto-input: fix crash bug
as this node is refactored in new style with vlib_buffer_enqueue_to_next, we have to check if the 'count' is greater than 0. otherise, the next_index would be invalid then lead to a crash Change-Id: If7c323b59c02b5c16bd9d77b65c946512cc972c1 Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
Diffstat (limited to 'src/plugins/nsim/nsim_input.c')
0 files changed, 0 insertions, 0 deletions