diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-12-07 09:14:27 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-12-09 15:49:31 +0000 |
commit | 4505f0154eaba59c432c869b65e2dc493837032a (patch) | |
tree | 348cdf4b96c680a02cfc0438a85219c6527074a1 /src/vat/json_format.c | |
parent | 4a65b910a1802103a8ded3e832aaf4f2065323b1 (diff) |
ipsec: make sure pad_bytes does not exceed pad data size
This helps GCC understand the memcpy will not overflow pad_data. GCC-6
(default on Debian 9) in particular got confused.
Type: fix
Change-Id: I176eb01531b9d5c7ebec40f015e510b2d56e77c4
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vat/json_format.c')
0 files changed, 0 insertions, 0 deletions