maintainer-feedback requested: [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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 280345: ports-mgmt/pkg: pkg segfault when OpenSSL legacy provider is
enabled
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280345



--- Description ---
# 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