amlogic: hdmitx: Fix stringop-overread warning 72/292572/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 3 May 2023 10:49:08 +0000 (19:49 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 8 May 2023 09:37:35 +0000 (18:37 +0900)
commit0fb0280f132d47185787d5db57d4fe65d41a8a3a
tree7306be07e0019181967bdd16651323da1bea3cef
parent9d0c491e9349c07c539ce07fa83596d92d31a4e1
amlogic: hdmitx: Fix stringop-overread warning

There is copying size 3 from one space string and it causes
stringop-overread warning. Fix to copy from three spaces string.

Change-Id: Iee4f9de77ab8f990d7ecc06ea18ebba1e56839ea
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c