Skip to content

chore: add bugs to check if codeql finds them - #587

Closed
b1ackviking wants to merge 1 commit into
mainfrom
codeql-sanity-check
Closed

b1ackviking wants to merge 1 commit into
mainfrom
codeql-sanity-check

Conversation

@b1ackviking

Copy link
Copy Markdown
Owner

No description provided.

Comment thread src/main.cpp
namespace {
void print_arg(const char* input) {
char* buffer = static_cast<char*>(std::malloc(std::strlen(input))); // NOLINT
std::strcpy(buffer, input);
Comment thread src/main.cpp
void print_arg(const char* input) {
char* buffer = static_cast<char*>(std::malloc(std::strlen(input))); // NOLINT
std::strcpy(buffer, input);
std::puts(buffer);
@b1ackviking b1ackviking closed this Oct 5, 2026
@b1ackviking
b1ackviking deleted the codeql-sanity-check branch October 5, 2026 09:44
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