Subject: needs more sdl_data? (Re: rt_tables broken)
To: None <current-users@netbsd.org>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: current-users
Date: 08/05/2007 14:49:04
Hi! all,


I found sdl_data[12] of struct sockaddr_dl overflow.  I think that it is
a cause that sdl_data is small this problem.  For instance, it overflows
when it is a long if_xname like depca(4).

  strlen("depca0") + 1 ('\0') + if_addrlen (6byte?) => 13bytes

You has any idea?

Thanks,
--
kiyohara