Skip to content

Fix out of bounds access when stdout is empty#2417

Merged
lerno merged 1 commit into
c3lang:masterfrom
ma-ale:patch-2
Aug 18, 2025
Merged

Fix out of bounds access when stdout is empty#2417
lerno merged 1 commit into
c3lang:masterfrom
ma-ale:patch-2

Conversation

@ma-ale
Copy link
Copy Markdown
Contributor

@ma-ale ma-ale commented Aug 18, 2025

In execute_stdout_to_buffer() when the process exits without printing to stdout the function would access the buffer to index -1

@lerno
Copy link
Copy Markdown
Collaborator

lerno commented Aug 18, 2025

Looks good, thank you!

@lerno lerno merged commit 43163fe into c3lang:master Aug 18, 2025
43 checks 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.

2 participants