Package: ncmpc
Version: 0.17-1
Severity: normal
Tags: patch upstream

Ncmpc can crash if loading lyrics on the lyrics screen is aborted. The
following patch, which is also on its way upstream (i.e. will likely be
included in ncmpc 0.20), fixes the crashs.

------------------------------------------------------------------------
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 7f5d47c..59dd478 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -65,7 +65,7 @@ screen_lyrics_abort(void)
 
        if (current.title != NULL) {
                g_free(current.title);
-               current.artist = NULL;
+               current.title = NULL;
        }
 
        if (current.song != NULL) {
------------------------------------------------------------------------

-- System Information:
Debian Release: wheezy/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ncmpc depends on:
ii  libc6                       2.13-16      Embedded GNU C Library: Shared lib
ii  libglib2.0-0                2.28.6-1     The GLib library of C routines
ii  liblircclient0              0.9.0~pre1-1 infra-red remote control support -
ii  libmpdclient2               2.3-1        client library for the Music Playe
ii  libncursesw5                5.9-1        shared libraries for terminal hand

ncmpc recommends no packages.

Versions of packages ncmpc suggests:
ii  mpd                           0.16.3-1   Music Player Daemon
ii  ncmpc-lyrics                  0.17-1     ncurses-based audio player (lyrics

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to