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

client: Fix Get Log Info response conversion method #422

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

andreirusu96
Copy link
Contributor

@andreirusu96 andreirusu96 commented Nov 3, 2022

Fix wrong cast in dlt_getloginfo_conv_ascii_to_uint16_t which would lead to a crash if the read value would be more than 255.
Fix missing count_app_ids = 0 in dlt_client_free_calloc_failed_get_log_info which causes a crash if this method would be called, as the final de-init method will iterate again and access free'd memory.

Signed-off-by: Andrei-Mircea Rusu [email protected]

@michael-methner
Copy link
Collaborator

Hello @andreirusu96 ,
thanks for the patch.

@michael-methner michael-methner merged commit ed8354f into COVESA:master Nov 30, 2022
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.

2 participants