diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-17 21:03:22 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-17 21:03:22 +0000 |
commit | f2e59239771baf835f0c13b563681420ee43ab0e (patch) | |
tree | 312071342faaa6e78d5e7a812630947e70aec879 /sys/arch/mvme88k/dev | |
parent | 6dcc49426d2991e7f02217bd09066d4fe55fa42b (diff) |
Be sure to pass a valid confargs * to child devices of vme0 when attaching,
for they will attempt to dereference it and having NULL readable while
in the kernel is just cheating.
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r-- | sys/arch/mvme88k/dev/vme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vme.c b/sys/arch/mvme88k/dev/vme.c index 7e1a07a13ad..90841c91719 100644 --- a/sys/arch/mvme88k/dev/vme.c +++ b/sys/arch/mvme88k/dev/vme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vme.c,v 1.48 2007/12/27 23:17:53 miod Exp $ */ +/* $OpenBSD: vme.c,v 1.49 2009/02/17 21:03:21 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1999 Steve Murphree, Jr. @@ -286,7 +286,7 @@ vmeattach(parent, self, args) #endif } - while (config_found(self, NULL, NULL)) + while (config_found(self, args, NULL)) ; } |