[Bug 280345] ports-mgmt/pkg: pkg segfault when OpenSSL legacy provider is enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Jul 2024 08:13:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280345

            Bug ID: 280345
           Summary: ports-mgmt/pkg: pkg segfault when OpenSSL legacy
                    provider is enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: manal@uni-bremen.de
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Created attachment 252136
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252136&action=edit
openssl.cnf.patch

# uname -a
FreeBSD login-freebsd 14.1-RELEASE FreeBSD 14.1-RELEASE
releng/14.1-n267679-10e31f0946d8 GENERIC amd64

# pkg -v
1.21.3


When /etc/ssl/openssl.cnf is modified to enable the OpenSSL legacy provider
(see attached patch), certain pkg commands, like "pkg update" and "pkg
upgrade," terminate with a segmentation fault and dump core:


# pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Child process pid=86382 terminated abnormally: Segmentation fault

-- 
You are receiving this mail because:
You are the assignee for the bug.