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

Search mask ^W and non-ASCII characters #13

Closed
nmeum opened this issue Feb 6, 2018 · 0 comments
Closed

Search mask ^W and non-ASCII characters #13

nmeum opened this issue Feb 6, 2018 · 0 comments
Labels

Comments

@nmeum
Copy link

nmeum commented Feb 6, 2018

I am using the following ncmpc version:

$ ncmpc --version
ncmpc version: 0.29
build options: debug multibyte wide locale nls colors getmouse artist-screen help-screen search-screen song-screen key-screen lyrics-screen outputs-screen

configuration files:
 /home/nmeum/.ncmpc/config
 /etc/ncmpc/config

When entering a search string in the Search: input bar (which can be reached by pressing 5 twice) which contains non-ASCII character (e.g the german umlaut 'ö'), pressing Ctrl + W triggers an assertion and causes the program to crash.

Here is the output of the assert(3) call:

Search: fööAssertion failed: x < strlen(wr->line) (../src/wreadln.c: wreadln_delete_char: 355)
 Aborted

I can reproduce this crash on both Alpine Linux Edge and Arch Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants