Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6016 closed patch (fixed)

Patch to fix mythmusic crash when attempting to edit non-existing metadata

Reported by: Garrick James <mythtv@…> Owned by: stuartm
Priority: minor Milestone: 0.21.1
Component: mythmusic Version: 0.21-fixes
Severity: low Keywords:
Cc: Ticket locked: no

Description

Mythmusic crashes when attempting to edit the metadata of a music_tree_list item which is not a song (e.g. an album or artist node). This patch prevents the crash by silently ignoring the request to edit metadata when there is no metadata for the current node.

Thanks, Garrick James

P.S. I am not subscribed to mythtv-dev. If you need to contact me, please email me directly or update the ticket log.

Attachments (1)

patch (534 bytes) - added by Garrick James <mythtv@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Garrick James <mythtv@…>

Attachment: patch added

comment:1 Changed 11 years ago by stuartm

Owner: changed from Isaac Richards to stuartm
Status: newaccepted

comment:2 Changed 11 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [19478]) Fix null pointer segfault in mythmusic when attempting to edit metadata on navigation and not track nodes. Patch from Garrick James. Closes #6016

comment:3 Changed 11 years ago by stuartm

(In [19479]) Backport [19478] to -fixes. Fix null pointer segfault in mythmusic when attempting to edit metadata on navigation and not track nodes. Patch from Garrick James. Refs #6016

Note: See TracTickets for help on using tickets.