diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-04-01 23:30:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 23:50:48 +0200 |
commit | 833bb3046b6cb320e775ea2160ddca87d53260d5 (patch) | |
tree | de206436200246909246f9e0df27e4cced13e364 /fs/udf/misc.c | |
parent | Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff) | |
download | linux-833bb3046b6cb320e775ea2160ddca87d53260d5.tar.xz linux-833bb3046b6cb320e775ea2160ddca87d53260d5.zip |
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 'fs/udf/misc.c')
0 files changed, 0 insertions, 0 deletions