We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This shows up on macOS 10.13 (and maybe others).
editline/src/editline.c
Lines 178 to 182 in 534b389
I believe the realloc should happen before the character is added to the array. Once I made that change, the SIGSEV went away.
Note: The array of items to display had 122 entries, longest 46 (3 columns).
Update: After taking another look, changing the > to a >= will do the trick.
>
>=
The text was updated successfully, but these errors were encountered:
Thank you for reporting, and fixing, this! :)
Sorry, something went wrong.
No branches or pull requests
This shows up on macOS 10.13 (and maybe others).
editline/src/editline.c
Lines 178 to 182 in 534b389
I believe the realloc should happen before the character is added to the array. Once I made that change, the SIGSEV went away.
Note: The array of items to display had 122 entries, longest 46 (3 columns).
Update: After taking another look, changing the
>
to a>=
will do the trick.The text was updated successfully, but these errors were encountered: