* [ISSUE] opendkim,libmilter: Crash on signing email (musl), solution included
@ 2020-12-08 12:04 toluschr
2020-12-14 13:50 ` ericonr
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: toluschr @ 2020-12-08 12:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
New issue by toluschr on void-packages repository
https://github.com/void-linux/void-packages/issues/27031
Description:
### System
* xuname:
* Void 5.9.12_2 x86_64-musl GenuineIntel/KVM uptodate rFF
* package:
* libmilter>=0 opendkim>=0
### Expected behavior
Emails get signed
### Actual behavior
opendkim segfaults due to a stack overflow in [`opendkim.c:4931:dkimf_add_signrequest`](https://github.com/trusteddomainproject/OpenDKIM/blob/master/opendkim/opendkim.c#L4927).
### Steps to reproduce the behavior
Setup an email server using opendkim to sign emails and notice that emails are not signed.
### Solution
Since this being a rare issue and the first time I setup an Email server, it didn't occur to me that there might be something wrong with the stacksize of musl. After Googling 'alpine opendkim crash', I found the relevant patch.
https://git.alpinelinux.org/aports/commit/?id=95724d1bd53ae87f72e6388cb7323dbd8f84be9d
I already pushed my changes to https://github.com/toluschr/void-packages/tree/update-opendkim. This branch includes the newest commit from the opendkim development branch.
I suggest updating to the opendkim pre-releases. Although void-linux tries to ship stable software, a version from 2015 is a little dated.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: opendkim,libmilter: Crash on signing email (musl), solution included
2020-12-08 12:04 [ISSUE] opendkim,libmilter: Crash on signing email (musl), solution included toluschr
@ 2020-12-14 13:50 ` ericonr
2021-01-22 1:15 ` ericonr
2021-01-22 1:15 ` [ISSUE] [CLOSED] " ericonr
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-12-14 13:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/27031#issuecomment-744452735
Comment:
https://github.com/trusteddomainproject/OpenDKIM/releases the pre releases are still quite dated as well...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: opendkim,libmilter: Crash on signing email (musl), solution included
2020-12-08 12:04 [ISSUE] opendkim,libmilter: Crash on signing email (musl), solution included toluschr
2020-12-14 13:50 ` ericonr
@ 2021-01-22 1:15 ` ericonr
2021-01-22 1:15 ` [ISSUE] [CLOSED] " ericonr
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-01-22 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/27031#issuecomment-765047238
Comment:
@toluschr if you use this package often, please consider making a PR to solve that situation. Since the crash has been solved, I will be closing this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ISSUE] [CLOSED] opendkim,libmilter: Crash on signing email (musl), solution included
2020-12-08 12:04 [ISSUE] opendkim,libmilter: Crash on signing email (musl), solution included toluschr
2020-12-14 13:50 ` ericonr
2021-01-22 1:15 ` ericonr
@ 2021-01-22 1:15 ` ericonr
2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-01-22 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]
Closed issue by toluschr on void-packages repository
https://github.com/void-linux/void-packages/issues/27031
Description:
### System
* xuname:
* Void 5.9.12_2 x86_64-musl GenuineIntel/KVM uptodate rFF
* package:
* libmilter>=0 opendkim>=0
### Expected behavior
Emails get signed
### Actual behavior
opendkim segfaults due to a stack overflow in [`opendkim.c:4931:dkimf_add_signrequest`](https://github.com/trusteddomainproject/OpenDKIM/blob/master/opendkim/opendkim.c#L4927).
### Steps to reproduce the behavior
Setup an email server using opendkim to sign emails and notice that emails are not signed.
### Solution
Since this being a rare issue and the first time I setup an Email server, it didn't occur to me that there might be something wrong with the stacksize of musl. After Googling 'alpine opendkim crash', I found the relevant patch.
https://git.alpinelinux.org/aports/commit/?id=95724d1bd53ae87f72e6388cb7323dbd8f84be9d
I already pushed my changes to https://github.com/toluschr/void-packages/tree/update-opendkim. This branch includes the newest commit from the opendkim development branch.
I suggest updating to the opendkim pre-releases. Although void-linux tries to ship stable software, a version from 2015 is a little dated.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-22 1:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 12:04 [ISSUE] opendkim,libmilter: Crash on signing email (musl), solution included toluschr
2020-12-14 13:50 ` ericonr
2021-01-22 1:15 ` ericonr
2021-01-22 1:15 ` [ISSUE] [CLOSED] " ericonr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).