Community Packages

Please read this before reporting a bug:

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!

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



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:

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:

I added this to PKGBUILD:

patch -d $pkgname-$pkgver -p2 -i "$srcdir"/exim_fix_pam.patch