commit | 3d45296ab96c2ec8308226b3350a6d9e48379870 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Fri Jan 29 11:58:03 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 29 22:56:46 2016 -0800 |
tree | 1842eaaeb44e9d2ac1d485833d0d7e3029e3a51a | |
parent | ae9d723e9fbe9fb28213b7df26475791428bf76a [diff] |
irda: fix a potential use-after-free in ircomm_param_request self->ctrl_skb is protected by self->spinlock, we should not access it out of the lock. Move the debugging printk inside. Reported-by: Dmitry Vyukov <dvyukov@google.com> Cc: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>