Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read: Avoid crash in interactive shell #116

Merged
merged 1 commit into from
Feb 11, 2025
Merged

read: Avoid crash in interactive shell #116

merged 1 commit into from
Feb 11, 2025

Conversation

magicant
Copy link
Owner

The promptset_for_read function did not initialize the predict field of the promptset_T structure, which caused a crash when the read built-in reads input in an interactive shell.

Fixes #114

The promptset_for_read function did not initialize the predict field of
the promptset_T structure, which caused a crash when the read built-in
reads input in an interactive shell.

Fixes #114
@magicant magicant added the bug Something isn't working label Feb 11, 2025
@magicant magicant added this to the 2.59 milestone Feb 11, 2025
@magicant magicant self-assigned this Feb 11, 2025
@magicant magicant merged commit e379edb into trunk Feb 11, 2025
3 checks passed
@magicant magicant deleted the read-e branch February 11, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when using read command
1 participant