artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b85df
)
Give iada_modname[] room for a terminating NUL in struct ioasicdev_attach_args;
author
miod
<miod@openbsd.org>
Wed, 30 Jul 2008 22:02:09 +0000
(22:02 +0000)
committer
miod
<miod@openbsd.org>
Wed, 30 Jul 2008 22:02:09 +0000
(22:02 +0000)
ok deraadt@
sys/dev/tc/ioasicvar.h
patch
|
blob
|
history
diff --git
a/sys/dev/tc/ioasicvar.h
b/sys/dev/tc/ioasicvar.h
index
b554e9a
..
01212d1
100644
(file)
--- a/
sys/dev/tc/ioasicvar.h
+++ b/
sys/dev/tc/ioasicvar.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: ioasicvar.h,v 1.
7 2004/06/28 02:28:43 aaron Exp $
*/
+/* $OpenBSD: ioasicvar.h,v 1.
8 2008/07/30 22:02:09 miod Exp $
*/
/* $NetBSD: ioasicvar.h,v 1.14 2000/10/17 09:45:49 nisimura Exp $ */
/*
@@
-39,7
+39,7
@@
struct ioasic_dev {
};
struct ioasicdev_attach_args {
- char iada_modname[TC_ROM_LLEN];
+ char iada_modname[TC_ROM_LLEN
+ 1
];
tc_offset_t iada_offset;
tc_addr_t iada_addr;
void *iada_cookie;