mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
6884bb0924
commit
beb9ccc635
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue