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

member default value sizes smaller than its size causes no errors #135

Open
lundmark opened this issue May 18, 2020 · 0 comments
Open

member default value sizes smaller than its size causes no errors #135

lundmark opened this issue May 18, 2020 · 0 comments
Labels

Comments

@lundmark
Copy link
Collaborator

In dl_load_txt_build_default_data() there is nothing that validates that the member's default_value_size is larger than or equal to its size. This causes dl_txt_pack_write_default_value()'s final if-statement (if( member_size != member->default_value_size ) to do all kind of crazy things like trying to write data that's sized to member->default_value_size - member_size

@wc-duck wc-duck added the bug label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants