Crash when scanning modplug files on amd64

Bug #500761 reported by Andy Kittner
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Unassigned

Bug Description

I get a segfault when adding a directory that contains files whose metadata is to be retrieved with the help of modplug. I'll attach a patch that fixes the issue for me by explicitly declaring the argument and result types for all used functions (I find this cleaner and safer than relying on implicit defaults, but I guess just setting the modplug.ModPlug_Load.restype might be enough because ctypes defaults to int here wich is to small to hold the returned pointer).

As for the used version: I tested this with the current trunk (revno: 2746)

Revision history for this message
Andy Kittner (andkit) wrote :
Revision history for this message
reacocard (reacocard) wrote :

patch committed trunk/2753, thanks!

Changed in exaile:
importance: Undecided → Medium
milestone: none → 0.3.1
status: New → Fix Committed
reacocard (reacocard)
Changed in exaile:
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.