diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2009-10-25 09:16:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 18:18:04 -0500 |
commit | 9e845abfc8a8973373821aa05302794fd254514b (patch) | |
tree | 0dbd44e16a4fbe9554d25b4dcbc17fea7207a933 /drivers/rtc/Makefile | |
parent | 2a0785ea375fe93cd480599bb40d0c837ff72a2e (diff) |
serial: fix NULL pointer dereference
If kzalloc() or alloc_tty_driver() fails, we call:
put_tty_driver(normal = NULL).
Then:
put_tty_driver -> tty_driver_kref_put -> kref_put(&NULL->kref, ...)
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/rtc/Makefile')
0 files changed, 0 insertions, 0 deletions