xmms-liveice causes a segmentation fault if the playlist is emptied while playing

Bug #112313 reported by TSeeker
Affects Status Importance Assigned to Milestone
xmms-liveice (Ubuntu)
Fix Released
Emmet Hikory

Bug Description

Binary package hint: xmms-liveice

When XMMS is playing a song with the xmms-liveice plug-in enabled, clearing the playlist causes a segmentation fault. In some cases, clearing the playlist a short time after playing has been disabled also causes a segmentation fault.

The reason for this crash is located in the check_song_title function, which uses xmms_remote_get_playlist_title() to get the title of the song being played. When the playlist is emptied, this function returns NULL and this situation is not being handled properly.

I will attach a patch that fixes this problem shortly.

Related branches

Revision history for this message
TSeeker (tseeker) wrote :
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your patch.

Changed in xmms-liveice:
status: New → Confirmed
Emmet Hikory (persia)
Changed in xmms-liveice:
assignee: nobody → persia
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Emmet Hikory (persia) wrote :

Uploaded with the if(if -> if( fix discussed on IRC. Thanks.

Changed in xmms-liveice:
status: In Progress → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

xmms-liveice (1.0.0-7ubuntu1) gutsy; urgency=low

  * Fixed potential SIGSEGV while xmms-liveice is active (LP: #112313)
  * Update Maintainer field in debian/control

 -- Luca Falavigna <email address hidden> Fri, 13 Jul 2007 23:37:09 +0200

Changed in xmms-liveice:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.