aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAlan Cox <[email protected]>2009-04-14 13:58:11 +0000
committerLinus Torvalds <[email protected]>2009-04-14 15:48:50 +0000
commitcf5450930db0ae308584e5361f3345e0ff73e643 (patch)
tree7e9b6229de416ae0ac651eb55fb6230e1ef80fc9 /security/selinux/hooks.c
parentcdc-acm: Fix long standing abuse of tty->low_latency (diff)
downloadkernel-cf5450930db0ae308584e5361f3345e0ff73e643.tar.gz
kernel-cf5450930db0ae308584e5361f3345e0ff73e643.zip
tty: Fix leak in ti-usb
If the ti-usb adapter returns an zero data length frame (which happens) then we leak a kref. Found by Christoph Mair <[email protected]> who proposed a patch. The patch here is different as Christoph's patch didn't work for the case where tty = NULL and data arrived but Christoph did all the hard work chasing it down. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions