Skip to content

rbuscli: add null check for argv in construct_input_into_cmds#386

Open
Permanence-AI-Coder wants to merge 1 commit intordkcentral:developfrom
permanence-opensource:permai-rbuscli-null-check
Open

rbuscli: add null check for argv in construct_input_into_cmds#386
Permanence-AI-Coder wants to merge 1 commit intordkcentral:developfrom
permanence-opensource:permai-rbuscli-null-check

Conversation

@Permanence-AI-Coder
Copy link
Copy Markdown
Contributor

The changes in this PR were automatically generated by the Permanence AI Coder and reviewed by @jweese and @fwph.

This adds a null check for argv before assigning to argv[argc++]. This prevents a null pointer dereference if argv is null. This is consistent with the check on argv later in the function.

This PR complies with RDK LLM usage requirements.

on-behalf-of: @permanence-ai github-ai@permanence.ai

The changes in this PR were automatically generated by the Permanence AI
Coder and reviewed by @jweese and @fwph.

This adds a null check for `argv` before assigning to `argv[argc++]`.
This prevents a null pointer dereference if `argv` is null. This is
consistent with the check on argv later in the function.

on-behalf-of: @permanence-ai <github-ai@permanence.ai>
@Permanence-AI-Coder Permanence-AI-Coder requested a review from a team as a code owner November 14, 2025 23:15
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