diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-09-08 12:08:38 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-09-08 12:08:38 +0200 |
commit | 4ca93a50675489a6a5ef9369c24806cc3cbff45e (patch) | |
tree | 5aca321744cb47cc1e55525baabfe8e56a9b53f4 /nest | |
parent | 948c865fac85f91dd7463195b190d8f133e0f741 (diff) | |
download | bird-4ca93a50675489a6a5ef9369c24806cc3cbff45e.tar bird-4ca93a50675489a6a5ef9369c24806cc3cbff45e.zip |
Fixes a one byte buffer overflow.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |