diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2021-03-01 08:54:35 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-03-04 10:52:59 +0000 |
commit | cef0cc1a07a50fe6ece9692e1d45790ee16d61ed (patch) | |
tree | 366ca9cf72ebcf1974fe7d7297d3a6170ce7e7fd /src/vlibmemory | |
parent | 3d019a541cac0b8cc1ba6891f8c9f99bfe37d79e (diff) |
libmemif: verify length of transmitted buffers
In memif_tx_burst verify that total buffer size
(data_offset + data_len) does not exceed buffer
size. If not valid returns MEMIF_ERR_INVAL_ARG.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ifae8f92344a401febbc1efd22c301356ccf83d44
Diffstat (limited to 'src/vlibmemory')
0 files changed, 0 insertions, 0 deletions