diff options
author | Steven <sluong@cisco.com> | 2017-11-08 14:14:45 -0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-11-12 03:32:44 +0000 |
commit | 0cdd5bd05bbb78c28a6995eff1d80eeabb9d6fd1 (patch) | |
tree | 991e9ac69b7c2c53dc2c8dca4bb54d44e1f39fa6 /src/vnet/session/mma_template.h | |
parent | b592ad758a10ad9a9cf8d4223b62eae2cf0515a1 (diff) |
VCL/LDPRELOAD: Fix out-of-bounds access and inequality comparison coverity errors
Fixed out-of-bounds access in vcom_socket.c by limiting the copy to the
size of the address field that was passed. Truncation will occur if
the address field is not big enough.
Fixed inequality comparison in vppcom.c by using the predefined macro
MAP_FAILED.
Change-Id: I9517c29ae811d08058621bd548a352b4d4f05139
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vnet/session/mma_template.h')
0 files changed, 0 insertions, 0 deletions