Bug 1510642

Summary: Patch to support OpenSSL 1.1 API causes jabberd to crash (fix attached)
Product: [Fedora] Fedora Reporter: Oleg Girko <ol+redhat>
Component: jabberdAssignee: Adrian Reber <adrian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: adrian, bennie.joubert, dmaphy, scott
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jabberd-2.6.1-6.fc27 jabberd-2.6.1-6.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-21 23:28:30 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:
Attachments:
Description Flags
Patch to fix coredump with OpenSSL 1.1 none

Description Oleg Girko 2017-11-07 21:57:24 UTC
Created attachment 1349123 [details]
Patch to fix coredump with OpenSSL 1.1

Description of problem:
Patch for jabberd to support OpenSSL 1.1 API is incomplete.
It fixes compilation problem, but it introduces undefined behaviour leading to jabberd crash.

Version-Release number of selected component (if applicable):
2.6.1, all releases

How reproducible:
Always.

Steps to Reproduce:
1. Install and configure jabberd:
  dnf install jabberd
  Edit config files in "/etc/jabberd" directory.
2. Start jabberd:
  systemctl start jabberd.service
3. Log in to started jabberd server using any XMPP client.

Actual results:
c2s service crash

Expected results:
No crash

Additional info:
Patch to fix the problem is attached.

Comment 1 Fedora Update System 2017-11-08 08:48:37 UTC
jabberd-2.6.1-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cc56c0fc1d

Comment 2 Adrian Reber 2017-11-08 09:09:41 UTC
Thanks for your patches!

Comment 3 Fedora Update System 2017-11-08 09:26:18 UTC
jabberd-2.6.1-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4f8b6b8b08

Comment 4 Fedora Update System 2017-11-08 20:31:25 UTC
jabberd-2.6.1-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-cc56c0fc1d

Comment 5 Fedora Update System 2017-11-08 23:57:53 UTC
jabberd-2.6.1-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-4f8b6b8b08

Comment 6 Scott Baker 2017-11-21 18:40:35 UTC
This patch fixed my bug in https://bugzilla.redhat.com/show_bug.cgi?id=1515960 as well. Good work everyone!

Comment 7 Adrian Reber 2017-11-21 18:47:13 UTC
*** Bug 1515960 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2017-11-21 23:28:30 UTC
jabberd-2.6.1-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 9 Fedora Update System 2017-11-22 02:26:51 UTC
jabberd-2.6.1-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.