Bug 235012

Summary: PATCH: fix python-daap segfaults on x86_64
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: python-daapAssignee: Jeffrey C. Ollie <jeff>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: matthias
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-03 12:36:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PATCH fixing 64 bit segfault / stacksmash abort none

Description Hans de Goede 2007-04-03 10:45:09 UTC
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 10:45:09 UTC
Created attachment 151550 [details]
PATCH fixing 64 bit segfault / stacksmash abort

Comment 2 Matthias Saou 2007-04-03 10:53:31 UTC
Thanks a lot Hans!

Comment 3 Jeffrey C. Ollie 2007-04-03 12:36:45 UTC
Patch applied and new versions built.

Comment 4 Jeffrey C. Ollie 2007-04-03 12:44:06 UTC
It looks like the upstream author has applied the patch to his Subversion
repository.  See:

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