Skip to content

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

Open
@Donnie-Ice

Description

@Donnie-Ice

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions