diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-05-24 11:46:03 +0200 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-05-24 11:46:03 +0200 |
commit | 5e0ae3d2f7e2723042c462c9851c0162df683556 (patch) | |
tree | ef23fc5df42d0789e0bf64754d862b331675f28f /java/jvpp-nat/jvpp_nat.h | |
parent | fae82a77fec1ab43b0714210dd97378fd3f7b235 (diff) |
fix length for string processing
In case string is null jstr_length crashes,
this fixes the issue and returns 0 because
null strings are replaced by empty strings
later in process.
Change-Id: Ib6b7a3985ae379207c4a06eb38df78dfdfbaffda
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'java/jvpp-nat/jvpp_nat.h')
0 files changed, 0 insertions, 0 deletions