diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 17:06:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 17:06:20 +0000 |
commit | e1a4be7ae0896118fafd05d3e42ff146c2ec4229 (patch) | |
tree | 71911d951f35ae7611c0b4d04cd4c15fb7cc6de7 /sys/conf | |
parent | e2298826ec1c412444f7feac518da51c4b7de988 (diff) | |
download | FreeBSD-src-e1a4be7ae0896118fafd05d3e42ff146c2ec4229.zip FreeBSD-src-e1a4be7ae0896118fafd05d3e42ff146c2ec4229.tar.gz |
Eliminate potential overflows by allocating softc dynamically,
removing at the same time the need for this to be a "count" config
option.
Found by: FlexeLint
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.i386 | 2 | ||||
-rw-r--r-- | sys/conf/files.pc98 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index 8f188b5..ca3f95d 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -259,7 +259,7 @@ i386/ibcs2/imgact_coff.c optional ibcs2 i386/isa/asc.c count asc i386/isa/clock.c standard i386/isa/cronyx.c optional cx -i386/isa/ctx.c count ctx +i386/isa/ctx.c optional ctx i386/isa/cx.c count cx i386/isa/cy.c count cy i386/isa/elink.c optional ep diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98 index b83c162..90cfc1e 100644 --- a/sys/conf/files.pc98 +++ b/sys/conf/files.pc98 @@ -222,7 +222,7 @@ i386/isa/bs/bsfunc.c optional bs i386/isa/bs/bshw.c optional bs i386/isa/bs/bsif.c count bs i386/isa/cronyx.c optional cx -i386/isa/ctx.c count ctx +i386/isa/ctx.c optional ctx i386/isa/cx.c count cx i386/isa/cy.c count cy i386/isa/elink.c optional ep |