b44: strncpy does not null terminate string
authorroel kluin <roel.kluin@gmail.com>
Fri, 17 Jul 2009 08:01:54 +0000 (08:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2009 15:02:58 +0000 (08:02 -0700)
commit27e0955184a70c4bd4542ee2da18c749b4f43345
tree34e2237c397d591ddb53eea5d421052ee617c1f1
parentb902e5735272b6a79fe2853180b2ad6658aa9678
b44: strncpy does not null terminate string

strlcpy() will always null terminate the string. Also use the
sizeof(version) to strlcopy() the version string.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/b44.c