diff options
author | Steven Luong <sluong@cisco.com> | 2021-02-28 09:45:16 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-03-04 10:51:32 +0000 |
commit | 3d019a541cac0b8cc1ba6891f8c9f99bfe37d79e (patch) | |
tree | 31af360a90338e0a666a8258fe1e21bb9f2954d2 /src/plugins/memif/socket.c | |
parent | 1cebf98e1cdc99e215d30dadd5570ba836b1a6d9 (diff) |
memif: Validate descriptors within process boudary
We hit a crash when the client sends us a bogus deescriptor which causes us
to access memory beyong the mapping. While the client clearly should not do
that, it is rather cheap for VPP to validate the descriptor instead of crash
and burn.
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Id09035810939f5f98530f212f0b23e606132251d
Diffstat (limited to 'src/plugins/memif/socket.c')
0 files changed, 0 insertions, 0 deletions