Re: [PATCH] media: cedrus: fix use after free bug in cedrus_remove due to race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, the code is okay.  The works is created in probe() and canceled in
remove().  You've added a new cancel in release() which is the wrong
place.  probe() pairs with remove().  open() pairs with release().

regards,
dan carpenter





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux