Bug 267174

Summary: devel/pcre: Adding option to disable jit support (Eliminate RWX memory allocation)
Product: Ports & Packages Reporter: Olivier Cochard <olivier>
Component: Individual Port(s)Assignee: Kirill Ponomarev <krion>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (krion)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch adding option to disable jit none

Description Olivier Cochard freebsd_committer freebsd_triage 2022-10-18 15:44:35 UTC
Created attachment 237436 [details]
patch adding option to disable jit

The PCRE library is allocating an RWX memory block in the JIT compiler.
For security reason, allow to disable jit by adding a new option.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-19 09:30:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8177b0385384c4561e31c9698a1eb25ffdf720eb

commit 8177b0385384c4561e31c9698a1eb25ffdf720eb
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2022-10-19 09:28:44 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2022-10-19 09:28:44 +0000

    devel/pcre: Adding option to disable jit support

    PR:             267174
    Reported by:    olivier

 devel/pcre/Makefile | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)