path: root/firmware/target/arm/imx233/samsung-ypz5
diff options
authorAidan MacDonald <>2022-09-30 10:49:39 +0100
committerAidan MacDonald <>2022-09-30 10:49:39 +0100
commit3bc6408bbe77b76ced68bb7711da9106ba535a55 (patch)
tree3c2768f6367be8d92a3e7e532917ccdef12764e2 /firmware/target/arm/imx233/samsung-ypz5
parentf373c97c90e816404c00ab48b2e36b18fd5e6c49 (diff)
lcd: Fix incorrect use of LCD_STRIDEFORMAT for remote LCDs
The get_address_fn implementations for some remote LCDs were checking LCD_STRIDEFORMAT unconditionally, but that macro is only valid for the main LCD. The remote LCD code only supports horizontal strides, so when compiling for a remote LCD, force the use of horizontal stride addressing. This fixes a buffer overflow and out of bounds write that occurs with the M:Robe 500 remote LCD. (Tested with sim + ASan only.) Change-Id: I99c6aa11d38f5105b096fc448948b9ec1b27dfe6
Diffstat (limited to 'firmware/target/arm/imx233/samsung-ypz5')
0 files changed, 0 insertions, 0 deletions