Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 14:57:08 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7187c760db69 - main - mail/xmail: Disable aslr
Message-ID:  <202307181457.36IEv8sC082201@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7187c760db69985124457decf7aa7997fa141fc0

commit 7187c760db69985124457decf7aa7997fa141fc0
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-07-18 14:33:23 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-07-18 14:56:40 +0000

    mail/xmail: Disable aslr
    
    A segfault results when aslr is enabled.
    
    MFH:    2023Q3
---
 mail/xmail/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mail/xmail/Makefile b/mail/xmail/Makefile
index 092e307b2878..6ef875d83dfc 100644
--- a/mail/xmail/Makefile
+++ b/mail/xmail/Makefile
@@ -20,4 +20,7 @@ post-patch:
 # Fix the build with -fno-common (for Clang 11 and GCC 10)
 	@${REINPLACE_CMD} -e '/In_Bogus_Mail_File;/d' ${WRKSRC}/xmail.c
 
+pre-install:
+	@${ELFCTL} -e +noaslr ${WRKSRC}/xmail
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307181457.36IEv8sC082201>