Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(draw_vector): check the point lenght of path in lv_vector_path_get_bounding #5734

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

duliang2008
Copy link
Contributor

check the path and area is not NULL.
check the len of points in path is not zero.

add param checks to avoid buff-overflow.

…t_bounding

VELAPLATFO-26086

Change-Id: Ic4efaa0b4d8fb5155ad94e61e7c1c1289242a941
Signed-off-by: duxiaoliang <duxiaoliang@xiaomi.com>
src/draw/lv_draw_vector.c Outdated Show resolved Hide resolved
@XuNeo XuNeo requested a review from FASTSHIFT February 23, 2024 17:24
kisvegabor
kisvegabor previously approved these changes Feb 24, 2024
@FASTSHIFT FASTSHIFT changed the title fix(draw_vector): check the point lenght of path in lv_vector_path_get_bounding fix(vg_lite): check the point lenght of path in lv_vector_path_get_bounding Feb 26, 2024
@FASTSHIFT FASTSHIFT changed the title fix(vg_lite): check the point lenght of path in lv_vector_path_get_bounding fix(draw_vector): check the point lenght of path in lv_vector_path_get_bounding Feb 26, 2024
@FASTSHIFT FASTSHIFT merged commit 97ef456 into lvgl:master Feb 26, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants