diff options
author | Long Wu <long.wu@corigine.com> | 2022-09-08 01:59:50 -0400 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@chenapan.org> | 2022-12-30 08:38:40 +0000 |
commit | 81270cab1daea40a39a77c06b47b45e211631186 (patch) | |
tree | b6ab277ce43fd7e37c00eda68f6f5d11e03b7460 /VNFs/DPPD-PROX/README | |
parent | aa8d2de633d545a0d06dd552032f51bc0bc83d20 (diff) |
Fix name-array out-of-memory
"struct prox_port_cfg" "names" buffer size is 64 and it will lead to
out-of-memory when do "snprintf" operation. Modify code to enlarge
buffer size to 128.
Fixes: 9a1e1e9336b3 ("Added support for multiple vlans in ipv4 vdev mode")
Cc: xavier.simonart@intel.com
Signed-off-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Change-Id: Iafbde578688e1a59f4b6e655e45b2d2951f36162
Diffstat (limited to 'VNFs/DPPD-PROX/README')
0 files changed, 0 insertions, 0 deletions