[PATCH for v5.10 0/2] pulse8-cec: fix crash and support v12

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

 



The first patch fixes a nasty bug where disconnecting a Pulse-Eight
would cause a duplicate free and crash.

In addition, it turns out that Pulse-Eight has a newer firmware version
(12, but the same issue is present for any firmware >= 10) where one
message was removed. This caused the probe() to fail, and then hit
exactly the same issue with a duplicate free. Both issues are fixed in
the first patch.

The second patch adds support for FW versions >= 10 by skipping the
removed message.

Thanks to Maxime Ripard for reporting this.

Regards,

	Hans

Hans Verkuil (2):
  pulse8-cec: fix duplicate free at disconnect or probe error
  pulse8-cec: add support for FW v10 and up

 drivers/media/cec/usb/pulse8/pulse8-cec.c | 52 +++++++++++++++--------
 1 file changed, 34 insertions(+), 18 deletions(-)

-- 
2.29.2




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux