aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/config.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2024-03-06 19:02:18 +0100
committerNeale Ranns <neale@graphiant.com>2024-04-09 04:49:17 +0000
commit7b899be710263dd334112f18db0f055625d9da5a (patch)
treec8386ac880c40e4bad757537698d5c310d70f6c9 /src/vnet/dev/config.c
parent302db471a01b5c21b80e9bc769315cef4da0ed80 (diff)
fib: fix off-by-one error in rewrite length check
The rewrite string can be up to max_size, and max_size can be up to VNET_REWRITE_TOTAL_BYTES. Don't waste the last byte. Type: fix Change-Id: I2fb7e9873b6b4c1e6a55b172c7f753f3c5910802 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/dev/config.c')
0 files changed, 0 insertions, 0 deletions