Skip to content

Add expose-gc support to CLI#124

Merged
yassernasc merged 2 commits intomainfrom
expose-gc
Feb 8, 2026
Merged

Add expose-gc support to CLI#124
yassernasc merged 2 commits intomainfrom
expose-gc

Conversation

@yassernasc
Copy link
Contributor

No description provided.

@yassernasc yassernasc requested review from a team and kasperisager February 6, 2026 22:13
Copy link
Contributor

@kasperisager kasperisager left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and simple!

bin/bare.c Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can put this up top as a static variable.

bin/bare.c Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each argument might not consist of 11 bytes so this risks causing out-of-bounds reads. https://en.cppreference.com/w/c/string/byte/strcmp should be used instead as it won't read past the NULL terminator of the input strings.

@yassernasc yassernasc merged commit 5bc024a into main Feb 8, 2026
13 checks passed
@yassernasc yassernasc deleted the expose-gc branch February 8, 2026 13:56
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

Comments