Commit Graph

4 Commits

Author SHA1 Message Date
Oleg Lyovin
c46596dec5 CEC: fix use-after-free in hdmicec_close
Fields of 'ctx' are accessed just after it is freed.

Test: manual
Change-Id: I7c3786db9ae618d84149874c72662e4d105765b4
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
2024-11-22 12:54:02 +02:00
Oleg Lyovin
59dbe8e028 CEC: do not join NULL thread
'hdmicec_close' may be called after exit_fd initialized,
but before ctx->thread created.

This patch checks it for NULL before join.

Test: manual
Change-Id: I1c57be56f2cd9956044d9a48fea914b1c1fd0132
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
2024-11-22 12:53:54 +02:00
Konsta
2e7c281b6a cec: don't add port info if physical address is invalid
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/37.
2023-11-26 21:30:38 +02:00
Konsta
c0a8378d8b add hdmi cec hal
* Based on AOSP yukawa HDMI-CEC HAL
  https://android.googlesource.com/device/amlogic/yukawa/+/refs/heads/main/hal/hdmicec/
2023-07-25 15:20:44 +03:00