Skip to content

improve: ffi - homework 5 - #5

Merged
dtrift merged 3 commits into
mainfrom
ffi-hw5
Jul 9, 2026
Merged

dtrift merged 3 commits into
mainfrom
ffi-hw5

Conversation

@dtrift

@dtrift dtrift commented Jul 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

t.galimkhanov added 3 commits July 9, 2026 12:11
Add a prefix cookie to SmartSocket so every FFI entry point can reject
foreign, corrupted, or already-freed handles instead of only NULL.

- stamp out the cookie in smart_socket_free for best-effort double-free guard
- add test invalid_handle_is_rejected
@dtrift
dtrift merged commit dac1c84 into main Jul 9, 2026
1 check passed
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.

1 participant