Bug 1167842 - Wrong type conversion makes dhm test hang on s390(x)
Summary: Wrong type conversion makes dhm test hang on s390(x)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: polarssl
Version: 20
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Morten Stevens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2014-11-25 13:58 UTC by Michal Toman
Modified: 2015-03-23 00:42 UTC (History)
4 users (show)

Fixed In Version: polarssl-1.2.12-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-12 04:06:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
polarssl-fix-conversion.patch (577 bytes, patch)
2014-11-25 13:58 UTC, Michal Toman
no flags Details | Diff

Description Michal Toman 2014-11-25 13:58:20 UTC
Created attachment 961228 [details]
polarssl-fix-conversion.patch

Description of problem:
The dhm test enters an endless loop when built on s390(x) because of wrong type conversion.

Version-Release number of selected component (if applicable):
polarssl-1.2.12-1.fc19
polarssl-1.2.12-1.fc20

How reproducible:
Always

Steps to Reproduce:
1. Try to build polarssl-1.2.12-1.fc20 on s390 or s390x

Actual results:
dhm test enters an endless loop

Expected results:
dhm test passes

Additional info:
This only affects F19 and F20. The problem is already fixed in upstream and polarssl-1.3.* (F21+). Attaching a patch.

Comment 1 Dan Horák 2014-11-25 14:21:36 UTC
upstream commits are
in development branch - https://github.com/polarssl/polarssl/commit/ef5087d150d5804e239878b17f357c9fee627883
in 1.2 branch - https://github.com/polarssl/polarssl/commit/0b0b522932ed70e93f18eca66dede570ea1a00a3
=> see the missing parenthesis around the "r >> biL" expression

Comment 2 Dan Horák 2014-11-25 20:39:15 UTC
reported as https://github.com/polarssl/polarssl/issues/143

Comment 3 Fedora Update System 2014-12-01 13:32:48 UTC
polarssl-1.2.12-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/polarssl-1.2.12-2.fc20

Comment 4 Fedora Update System 2014-12-01 13:33:18 UTC
polarssl-1.2.12-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/polarssl-1.2.12-2.fc19

Comment 5 Fedora Update System 2014-12-03 01:01:14 UTC
Package polarssl-1.2.12-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing polarssl-1.2.12-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16094/polarssl-1.2.12-2.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-12-12 04:06:30 UTC
polarssl-1.2.12-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-12-12 04:21:14 UTC
polarssl-1.2.12-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.