From: Ondrej Zajicek Date: Wed, 8 Sep 2010 10:08:38 +0000 (+0200) Subject: Fixes a one byte buffer overflow. X-Git-Tag: v1.3.0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca93a50675489a6a5ef9369c24806cc3cbff45e;p=thirdparty%2Fbird.git Fixes a one byte buffer overflow. --- diff --git a/nest/rt-table.c b/nest/rt-table.c index 389baaa24..a4976f032 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);