Skip to content
Commit 6043af63 authored by Johan Lafon's avatar Johan Lafon Committed by Benjamin Cabé
Browse files

modules: lvgl: fix buffer overflow when using monochrome displays



In lvgl_transform_buffer() the pixel map buffer start address is
modified to skip the library color palette header but the memcpy size
argument was not modified accordingly thus causing writes beyond buffer
reserved space.

Signed-off-by: default avatarJohan Lafon <johan.lafon@syslinbit.com>
parent 153f5b63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment