Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478086 - mail-filter/zdkimfilter with =mail-filter/opendkim-2.2.2 - zdkimfilter: segfault in libopendkim.so.9.0.1
Summary: mail-filter/zdkimfilter with =mail-filter/opendkim-2.2.2 - zdkimfilter: segfa...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL: http://lists.opendkim.org/archive/ope...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-25 07:17 UTC by Forza
Modified: 2013-10-28 13:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2013-07-25 07:17:05 UTC
zdkimfilter does not work properly with >mail-filter/opendkim-2.2.2. 

It will cause a segmentation fault when verifying arriving emails through courier.

"zdkimfilter[19398]: segfault at e ip 00007f3a3093d411 sp 00007fffc48f5400 error 4 in libopendkim.so.9.0.1[7f3a3092c000+20000]"

This is becuase the API ( dkim_policy() ) is slightly changed in newer versions of OpenDKIM, which is used during verification of emails. 

It is therefore probably an an upstream issue either with OpenDKIM or zdkimfilter.

In any case, zdkimfilter should depend on =mail-filter/opendkim-2.2.2 until a new version of opendkim or zdkimfilter has addressed this issue.

This is verified with zdkimfilter-1.1 and 1.2.
Comment 1 Forza 2013-07-25 10:52:17 UTC
More information here from the opendkim author: http://lists.opendkim.org/archive/opendkim/dev/2013/07/1890.html
Comment 2 Ale Vesely 2013-07-25 15:43:43 UTC
zdkimfilter-1.1 (or 1.2 for that matter) has a configure check to determine whether the function 'dkim_policy' takes three or four arguments.  It is necessary that dkim.h and libopendkim.so agree for that to work.
Comment 3 Forza 2013-07-26 14:58:56 UTC
I believe there was a "stale" dkim.h in /usr/local/include left over from an old opendkim-2.2.2. This caused wrong version dkim.h to be used. Therefore perhaps this bug can be closed?
Comment 4 Eray Aslan gentoo-dev 2013-10-28 13:47:02 UTC
Closing.