Bug 267174 - devel/pcre: Adding option to disable jit support (Eliminate RWX memory allocation)
Summary: devel/pcre: Adding option to disable jit support (Eliminate RWX memory alloca...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-18 15:44 UTC by Olivier Cochard
Modified: 2022-10-19 09:30 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (krion)


Attachments
patch adding option to disable jit (1.41 KB, patch)
2022-10-18 15:44 UTC, Olivier Cochard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)