Fix a couple of string buffer overruns in lpt_ofisa_md_match()

From Richard Earnshaw, fixes PR6210.
This commit is contained in:
mark 1998-10-28 04:21:57 +00:00
parent 80f6009f5b
commit 096ffe523f
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lpt_ofisa_machdep.c,v 1.2 1998/05/01 21:13:54 cgd Exp $ */
/* $NetBSD: lpt_ofisa_machdep.c,v 1.3 1998/10/28 04:21:57 mark Exp $ */
/*
* Copyright 1998
@ -53,8 +53,8 @@ lpt_ofisa_md_match(parent, cf, aux)
void *aux;
{
struct ofisa_attach_args *aa = aux;
char type[8];
char name[8];
char type[9];
char name[9];
int rv;
rv = 0;