From: Matthew Smith Date: Sat, 11 Apr 2020 01:27:33 +0000 (-0500) Subject: ipsec: validate number of input sas X-Git-Tag: v20.09-rc0~217 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=dc3e9664858df680accca7324299b633bf60397d;hp=dc3e9664858df680accca7324299b633bf60397d;p=vpp.git ipsec: validate number of input sas Type: fix There is a statically allocated array for inbound SAs which can hold 4 IDs. The input parameter containing the IDs of th inbound SAs is a vector and Its possible to pass a vector with more than 4 elements and write the memory past the end of the array. Fail if more than 4 SAs are passed in the vector. Change-Id: I0c9d321c902d6366b8aff816d04e343dcbd110eb Signed-off-by: Matthew Smith ---