Bug 235012 - PATCH: fix python-daap segfaults on x86_64
PATCH: fix python-daap segfaults on x86_64
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: python-daap (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeffrey C. Ollie
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-03 06:45 EDT by Hans de Goede
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-03 08:36:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
PATCH fixing 64 bit segfault / stacksmash abort (650 bytes, patch)
2007-04-03 06:45 EDT, Hans de Goede
no flags Details | Diff

  None (edit)
Description Hans de Goede 2007-04-03 06:45:09 EDT
Matthias Saou from freshrpms has requested me to look into a crash on x86_64 he
encountered while packaging elisa, for the elise packages see:
http://ftp.es6.freshrpms.net/tmp/extras/

This crash is caused by an error in md5.h in python-daap where a long is used as
a 32 bit var, there is a "#ifdef __alpha" in there to work properly on alpha,
this could be changed to "#if defined __alpha || defined __x86_64__ || defined
__ppc64__ || defined __ia64__" (with others to follow in the future) but I've
choosen to instead make the code arch indepenent. The attached patch does this. 

Please build a new version with this patch, and send the patch upstream.
Comment 1 Hans de Goede 2007-04-03 06:45:09 EDT
Created attachment 151550 [details]
PATCH fixing 64 bit segfault / stacksmash abort
Comment 2 Matthias Saou 2007-04-03 06:53:31 EDT
Thanks a lot Hans!
Comment 3 Jeffrey C. Ollie 2007-04-03 08:36:45 EDT
Patch applied and new versions built.
Comment 4 Jeffrey C. Ollie 2007-04-03 08:44:06 EDT
It looks like the upstream author has applied the patch to his Subversion
repository.  See:

https://jerakeen.org/svn/tomi/Projects/PythonDaap/CHANGELOG

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