dhcpcd-discuss

Re: [PATCH] Remove buffer overrun that leads to a segfault on ipv6 network.

Roy Marples

Fri Mar 23 07:42:30 2012

Hi

On 22/03/2012 8:40, Sidney Amani wrote:
strcpy copies the \0 of its src argument, therefore the following line
is unneeded. Ironically, it can lead to a nasty segfault on a network
that supports ipv6. In fact, it prevented me from access such a
network using DHCP.

Hmmm, that was quite silly of me really. Good work catching that.

http://roy.marples.name/projects/dhcpcd/changeset/e15ea01de8dbce30c274a47bd57294df38c4c266

Thanks!

Roy

References:
[PATCH] Remove buffer overrun that leads to a segfault on ipv6 network.Sidney Amani
Archive administrator: postmaster@marples.name