Details

[Home]

Issue of the Implementation # L0129

Brief

drivers/media/usb/ttusb-dec/ttusb_dec.c: incorrect error handling in ttusb_dec_probe()

Detailed Description

There is an asymmetry in ttusb_dec_init_usb()-ttusb_init_rc() and ttusb_dec_exit_usb()-ttusb_dec_exit_rc() in terms of resources allocated-deallocated. irq_urb and irq_buffer are allocated in ttusb_dec_init_usb(), while they are deallocated in ttusb_dec_exit_rc(). As a result there is a leak of them in ttusb_dec_probe().

Component

linux-kernel 3.11

Accepted

https://lkml.org/lkml/2013/7/13/135
commit

Status

Fixed in kernel 3.12-rc3

[Home]