Tag: d9d691f584bd012d235c35279c043a2ccd23d7d7

drivers/tty/bfin_jtag_comm.c: avoid calling put_tty_driver on NULL

Author: Julia Lawall <julia@diku.dk> put_tty_driver calls tty_driver_kref_put on its argument, and then tty_driver_kref_put calls kref_put on the address of a field of this argument. kref_put checks for NULL, but in this case the field is likely to have some offset and so the result of taking its address will not be NULL. Labels are added …

Continue reading