projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79bf442
)
m68k/mac: Fix out-of-bounds array index in OSS IRQ source initialization
author
Finn Thain
<fthain@telegraphics.com.au>
Mon, 30 Mar 2015 01:22:30 +0000
(12:22 +1100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Mon, 30 Mar 2015 08:14:34 +0000
(10:14 +0200)
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/oss.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/m68k/mac/oss.c
b/arch/m68k/mac/oss.c
index 54037125ebf8c0e05c82cb937cb2560a7575244d..bb11dceed7ed2e947ea31f9393539c8b2e6f5c41 100644
(file)
--- a/
arch/m68k/mac/oss.c
+++ b/
arch/m68k/mac/oss.c
@@
-47,9
+47,8
@@
void __init oss_init(void)
/* Disable all interrupts. Unlike a VIA it looks like we */
/* do this by setting the source's interrupt level to zero. */
- for (i = 0; i <
= OSS_NUM_SOURCES; i++) {
+ for (i = 0; i <
OSS_NUM_SOURCES; i++)
oss->irq_level[i] = 0;
- }
}
/*