From 4ca93a50675489a6a5ef9369c24806cc3cbff45e Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 8 Sep 2010 12:08:38 +0200 Subject: Fixes a one byte buffer overflow. --- nest/rt-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/rt-table.c b/nest/rt-table.c index 389baaa..a4976f0 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -1637,7 +1637,7 @@ rt_format_via(rte *e, byte *via) static void rt_show_rte(struct cli *c, byte *ia, rte *e, struct rt_show_data *d, ea_list *tmpa) { - byte via[STD_ADDRESS_P_LENGTH+32], from[STD_ADDRESS_P_LENGTH+6]; + byte via[STD_ADDRESS_P_LENGTH+32], from[STD_ADDRESS_P_LENGTH+8]; byte tm[TM_DATETIME_BUFFER_SIZE], info[256]; rta *a = e->attrs; int primary = (e->net->routes == e); -- cgit v1.2.3