examples/ipsec-secgw: fix configuration parsing
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 7 Nov 2016 14:21:06 +0000 (14:21 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 20:38:45 +0000 (21:38 +0100)
commit63e8c07c7245095406c1d01a4121e05191121754
treed54eef00760d47356b9577c9184d6d72198bf240
parent083e2f26006b30585b47bd52e4c76a93ebfde0fa
examples/ipsec-secgw: fix configuration parsing

Fix copy into fixed size buffer issue.

Coverity issue: 137875
Fixes: 0d547ed0 ("examples/ipsec-secgw: support configuration file")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/ipsec-secgw/sa.c