Re: [PATCH 2.6] dev.c: clear SIOCGIFHWADDR buffer if !dev->addr_len
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-10-30 01:48:16
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-10-30 01:48:16
Matt Domsch [off-list ref] wrote:
If dev->dev_addr is zero, then the memcpy() never takes place, and the
Huh? You mean dev->addr_len? Surely the caller has to know what the address length is to use this anyway, no? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt