diff options
author | Martyn Welch <martyn.welch@gefanuc.com> | 2009-10-29 16:34:48 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 12:23:17 -0800 |
commit | beb9ccc635433065a099b75dc8b22caf0844014a (patch) | |
tree | e95b2c15c0508fe8a26919583974f5a8def4b337 /drivers/staging/vme/devices | |
parent | 6884bb09244498bfa67a99737f33b638d8eae450 (diff) | |
download | op-kernel-dev-beb9ccc635433065a099b75dc8b22caf0844014a.zip op-kernel-dev-beb9ccc635433065a099b75dc8b22caf0844014a.tar.gz |
staging: vme: correct array overflow
Eric Sesterhenn noticed that vme_user is overflowing an array used by
sprintf. Use a bigger array.
CC: Eric Sesterhenn <eric.sesterhenn@lsexperts.de>
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme/devices')
-rw-r--r-- | drivers/staging/vme/devices/vme_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index dc9be47..e228942 100644 --- a/drivers/staging/vme/devices/vme_user.c +++ b/drivers/staging/vme/devices/vme_user.c @@ -624,7 +624,7 @@ err_nocard: static int __init vme_user_probe(struct device *dev, int cur_bus, int cur_slot) { int i, err; - char name[8]; + char name[12]; /* Save pointer to the bridge device */ if (vme_user_bridge != NULL) { |