diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-04-02 01:30:04 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 14:50:48 -0700 |
commit | 833bb3046b6cb320e775ea2160ddca87d53260d5 (patch) | |
tree | de206436200246909246f9e0df27e4cced13e364 /net/iucv | |
parent | 8b53ef33d9d8fa5f771ae11cc6a6e7bc0182beec (diff) |
serial: fixup /proc/tty/driver/serial after proc_fops conversion
"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>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions