Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
11f7965
)
stn: fix non-NULL terminated string overflow
61/40661/2
author
Benoît Ganne
<bganne@cisco.com>
Mon, 8 Apr 2024 09:54:01 +0000
(11:54 +0200)
committer
Florin Coras
<florin.coras@gmail.com>
Thu, 11 Apr 2024 01:06:20 +0000
(
01:06
+0000)
Type: fix
Change-Id: I9d7e6dd099cf9f4b7f6bb06d9e8a17fac7d7e772
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/stn/stn.c
patch
|
blob
|
history
diff --git
a/src/plugins/stn/stn.c
b/src/plugins/stn/stn.c
index
6e789fe
..
c0ac0d0
100644
(file)
--- a/
src/plugins/stn/stn.c
+++ b/
src/plugins/stn/stn.c
@@
-49,7
+49,7
@@
format_stn_rule (u8 * s, va_list * args)
s = format (s, "%Uiface: %U (%d)\n", format_white_space, indent,
format_vnet_sw_if_index_name, vnet_get_main(), r->sw_if_index,
r->sw_if_index);
- s = format (s, "%Unext_node: %
s
(%d)", format_white_space, indent,
+ s = format (s, "%Unext_node: %
v
(%d)", format_white_space, indent,
next_node->name, next_node->index);
return s;
}