Bug 16800 - libgpod segfault when communicating to some iOS devices (Patches included)
Summary: libgpod segfault when communicating to some iOS devices (Patches included)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA5-32-OK MGA5-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-09-22 03:52 CEST by Zombie Ryushu
Modified: 2015-10-15 21:51 CEST (History)
6 users (show)

See Also:
Source RPM: libgpod
CVE:
Status comment:


Attachments
libgpod patch. (1.14 KB, patch)
2015-09-22 03:54 CEST, Zombie Ryushu
Details | Diff

Description Zombie Ryushu 2015-09-22 03:52:52 CEST
The fix for libgpod fixes a segfaulting issue where apon connection or access of an iOS device, libgpod will segfault (as well as any program using it) while attempting to parse the playcount.xml file on the device.

create mode 100644 github.com-jburton-libgpod-fix-segfault.patch
create mode 100644 libgpod-0.8.2-pkgconfig_overlinking.patch
create mode 100644 libgpod-0.8.3-mono4.patch
create mode 100644 libgpod-fixswig.patch

Reproducible: 

Steps to Reproduce:
Comment 1 Zombie Ryushu 2015-09-22 03:54:11 CEST
Created attachment 7028 [details]
libgpod patch.

libgpod patch.
Comment 2 Samuel Verschelde 2015-09-22 10:04:54 CEST
Hi! Thanks for the patch. Unfortunately libgpod has no dedicated maintainer. I'm adding in CC some packagers who touched the package at some point, but maybe you should consider maintaining it? You seem to have commit rights although no push rights yet.
Comment 3 Samuel Verschelde 2015-09-22 10:06:24 CEST
Actually adding some packagers in CC.

CC: (none) => fundawang, geiger.david68210, luigiwalser, mageia, mageia

Samuel Verschelde 2015-09-22 10:06:34 CEST

Keywords: (none) => PATCH

Samuel Verschelde 2015-09-22 10:06:44 CEST

Severity: normal => major

Comment 4 David GEIGER 2015-09-22 20:59:31 CEST
libgpod is now fixed for Cauldron and mga5 (Core/Updates_testing) too.

Please test this new update to check if the segfault is resolved or not.
Comment 5 Zombie Ryushu 2015-09-22 22:43:48 CEST
Will do.
Comment 6 David Walser 2015-09-22 22:53:32 CEST
Package list:
libgpod-0.8.3-8.1.mga5
libgpod4-0.8.3-8.1.mga5
libgpod-devel-0.8.3-8.1.mga5
python-gpod-0.8.3-8.1.mga5
libgpod-sharp-0.8.3-8.1.mga5

from libgpod-0.8.3-8.1.mga5.src.rpm
Comment 7 David Walser 2015-10-14 23:14:22 CEST
Ping: Zombie.  Did you get a chance to test this?
Comment 8 Zombie Ryushu 2015-10-14 23:19:30 CEST
Yes, they work. At least on my iPod Shuffle
Comment 9 David Walser 2015-10-14 23:21:06 CEST
(In reply to Zombie Ryushu from comment #8)
> Yes, they work. At least on my iPod Shuffle

Thanks!  Which architecture are you running?
Comment 10 David Walser 2015-10-14 23:35:02 CEST
Assigning to QA since the fix was verified by the reported.  Marking OK for i586 as it installs cleanly there.  Hopefully Zombie can verify which architecture he tested.

Advisory:

The libgpod package has been patched to fix a crash when communicating with
some iOS devices (such as the iPod Shuffle).

Assignee: bugsquad => qa-bugs
Whiteboard: (none) => MGA5-32-OK

Comment 11 Zombie Ryushu 2015-10-14 23:57:49 CEST
x86_64. However my older Generation iPod is not representative of most MTP iPods in circulation as my iPod is a USB Mass Storage Device iPod of the older models.

Old Generation iPods have to have the libgpod.rules file removed from udev before they can be used as they are not MTP devices. 

Both MTP and USB Mass Storage iPods are susceptible to this crash.  This patch fixes that problem.

This Patch does NOT fix detection of older USB Mass Storage iPod types not being detected.
Comment 12 David Walser 2015-10-15 00:37:30 CEST
OK, I guess there's a bug in the udev rules file.  You could file a separate bug for that if you like.

Please push this to core/updates.

Keywords: PATCH => validated_update
Whiteboard: MGA5-32-OK => MGA5-32-OK MGA5-64-OK
CC: (none) => sysadmin-bugs

Comment 13 claire robinson 2015-10-15 17:24:02 CEST
Advisory uploaded.

Whiteboard: MGA5-32-OK MGA5-64-OK => advisory MGA5-32-OK MGA5-64-OK

Comment 14 Mageia Robot 2015-10-15 21:51:50 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0157.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.