Skip to content

💡 Switch SA interface to be more like an API #451

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

Open
Donnie-Ice opened this issue Apr 4, 2025 · 0 comments · May be fixed by #452
Open

💡 Switch SA interface to be more like an API #451

Donnie-Ice opened this issue Apr 4, 2025 · 0 comments · May be fixed by #452
Assignees
Labels
enhancement New feature or request

Comments

@Donnie-Ice
Copy link
Contributor

Summary

Implement setters and getters for SA fields with bounds checking to prevent overrunning buffers.

Use Case

sa.iv_len = 16 bytes, but has no bounds checking when setting sa.iv, meaning you can set > 16 bytes of memory, which overruns to other fields in the sa struct.

@Donnie-Ice Donnie-Ice added the enhancement New feature or request label Apr 4, 2025
@Donnie-Ice Donnie-Ice self-assigned this Apr 4, 2025
Donnie-Ice added a commit that referenced this issue Apr 7, 2025
Donnie-Ice added a commit that referenced this issue Apr 7, 2025
@Donnie-Ice Donnie-Ice linked a pull request Apr 7, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant