Skip to content

Conversation

@allemanm
Copy link
Contributor

Fixes the dereferencing of a NULL pointer when interrupts of an input device happen early in the application.

@zephyrbot zephyrbot added the area: LVGL Light and Versatile Graphics Library Support label Nov 28, 2025
@allemanm allemanm force-pushed the fix-lvgl-indev-null-pointer-dereferencing branch from 34c2ea6 to 312a551 Compare November 28, 2025 11:28
@faxe1008
Copy link
Contributor

Fix looks good, thanks. But the commit message needs adjustment, this simply prevents a nullptr deref, nothing to do with display orientation.

@allemanm
Copy link
Contributor Author

Ok, I'll update it. It was because of the error message <err> lvgl: Invalid display orientation that I started to investigate the bug.

@allemanm allemanm changed the title lvgl: input: lvgl_pointer_input: fix invalid display orientation lvgl: input: lvgl_pointer_input: fix NULL pointer dereferencing Nov 28, 2025
@allemanm allemanm force-pushed the fix-lvgl-indev-null-pointer-dereferencing branch from 312a551 to 14c652e Compare November 28, 2025 12:32
pdgendt
pdgendt previously approved these changes Nov 28, 2025
Fixes the dereferencing of a NULL pointer when interrupts of an
input device happen early in the application.

Signed-off-by: Matthias Alleman <[email protected]>
@allemanm allemanm force-pushed the fix-lvgl-indev-null-pointer-dereferencing branch from 14c652e to 74589eb Compare November 28, 2025 13:47
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: LVGL Light and Versatile Graphics Library Support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants