Bug 1480303

Summary: opensmptd: Accidentally interposes reallocarray
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: opensmtpdAssignee: Denis Fateyev <denis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: denis
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opensmtpd-6.0.2p1-6.fc27 opensmtpd-6.0.2p1-6.fc26 opensmtpd-6.0.2p1-6.fc25 opensmtpd-6.0.2p1-6.el7 opensmtpd-6.0.2p1-6.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-05 21:04:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1457749    
Attachments:
Description Flags
opensmptd.patch none

Description Florian Weimer 2017-08-10 16:04:29 UTC
Created attachment 1311828 [details]
opensmptd.patch

openbsd-compat/reallocarray.c does not check HAVE_REALLOCARRAY, so it is compiled in even if the configure check indicates that the function is present.  As a result, the function provided by glibc is interposed.

The attached patch should correct this.

(Current upstream sources have a similar issue for explicit_bzero.)

Comment 1 Jan Kurik 2017-08-15 08:11:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 2 Fedora Update System 2017-09-30 17:32:59 UTC
opensmtpd-6.0.2p1-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-29badcfae4

Comment 3 Fedora Update System 2017-09-30 17:33:07 UTC
opensmtpd-6.0.2p1-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-8f47a3c83f

Comment 4 Fedora Update System 2017-09-30 17:33:13 UTC
opensmtpd-6.0.2p1-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-aed89fbb4e

Comment 5 Fedora Update System 2017-09-30 17:33:18 UTC
opensmtpd-6.0.2p1-6.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-590fd84f74

Comment 6 Fedora Update System 2017-09-30 17:33:23 UTC
opensmtpd-6.0.2p1-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e502bca19e

Comment 7 Fedora Update System 2017-10-01 23:48:49 UTC
opensmtpd-6.0.2p1-6.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-590fd84f74

Comment 8 Fedora Update System 2017-10-01 23:49:45 UTC
opensmtpd-6.0.2p1-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-8f47a3c83f

Comment 9 Fedora Update System 2017-10-01 23:55:35 UTC
opensmtpd-6.0.2p1-6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-aed89fbb4e

Comment 10 Fedora Update System 2017-10-02 00:55:59 UTC
opensmtpd-6.0.2p1-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e502bca19e

Comment 11 Fedora Update System 2017-10-02 00:57:18 UTC
opensmtpd-6.0.2p1-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-29badcfae4

Comment 12 Fedora Update System 2017-10-05 21:04:38 UTC
opensmtpd-6.0.2p1-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2017-10-09 15:23:41 UTC
opensmtpd-6.0.2p1-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2017-10-09 19:19:08 UTC
opensmtpd-6.0.2p1-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-10-17 18:17:09 UTC
opensmtpd-6.0.2p1-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-10-17 20:48:14 UTC
opensmtpd-6.0.2p1-6.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.