Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73275 - [exim] crash when authenticating users via pam

Attached to Project: Community Packages
Opened by Alan (lameventanas) - Thursday, 06 January 2022, 07:49 GMT
Last edited by George Rawlinson (rawlinsong) - Monday, 17 January 2022, 20:17 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Felix Yan (felixonmars)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:

Exim crashes every time a user tries to authenticate.

When running the server with:
/usr/bin/exim -bd -d

I can see:
...
21562 Running PAM authentication for user "username"
free(): invalid pointer
18673 child 21562 ended: status=0x86
18673 signal exit, signal 6 (core dumped)
...
And a core dump is produced

Additional info:
* package version: 4.95-2
* link to upstream bug report: https://bugs.exim.org/show_bug.cgi?id=2813

Steps to reproduce:
1. Configure exim with pam authentication
2. Try to authenticate
3. Crash
This task depends upon

Comment by Alan (lameventanas) - Thursday, 06 January 2022, 10:33 GMT
This patch fixes it for me:
https://git.exim.org/exim.git/patch/51be321b27825c01829dffd90f11bfff256f7e42

I added this to PKGBUILD:

prepare(){
patch -d $pkgname-$pkgver -p2 -i "$srcdir"/exim_fix_pam.patch
}

Loading...