git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b53ef3
)
serial: fixup /proc/tty/driver/serial after proc_fops conversion
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 1 Apr 2009 21:30:04 +0000
(
01:30
+0400)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 1 Apr 2009 21:50:48 +0000
(14:50 -0700)
"struct tty_driver *" lies in m->private not in v which is
SEQ_TOKEN_START which is 1 which is enough to trigger NULL dereference
next line:
BUG: unable to handle kernel NULL pointer dereference at
000000ad
IP: [<
c040d689
>] uart_proc_show+0xe/0x2b0
Noticed by Linus.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/serial_core.c
patch
|
blob
|
history
diff --cc
drivers/serial/serial_core.c
Simple merge