diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-04 09:24:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 23:30:39 -0700 |
commit | c2dddf941409635601e56c1990c5ab0bd395742c (patch) | |
tree | 77df90b752ee44ddc82ed1a31f310e152a307b4d /net/core | |
parent | 1f4f0f645cc1d7f1187fcdb0ac22c2e69bd68050 (diff) | |
download | op-kernel-dev-c2dddf941409635601e56c1990c5ab0bd395742c.zip op-kernel-dev-c2dddf941409635601e56c1990c5ab0bd395742c.tar.gz |
eicon: make buffer larger
In diva_mnt_add_xdi_adapter() we do this:
strcpy (clients[id].drvName, tmp);
strcpy (clients[id].Dbg.drvName, tmp);
The "clients[id].drvName" is a 128 character buffer and
"clients[id].Dbg.drvName" was originally a 16 character buffer but I've
changed it to 128 as well. We don't actually use 128 characters but we
do use more than 16.
I've also changed the size of "tmp" to 128 characters instead of 256.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions