RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 844683 - [RFE] mingw-virt-viewer: use ASLR
Summary: [RFE] mingw-virt-viewer: use ASLR
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mingw-virt-viewer
Version: 8.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Uri Lublin
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-31 11:54 UTC by Tomas Jamrisko
Modified: 2021-05-18 16:20 UTC (History)
8 users (show)

Fixed In Version: mingw-virt-viewer-9.0-3.el8
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 16:20:32 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tomas Jamrisko 2012-07-31 11:54:18 UTC
Description of problem:

virt-viewer for windows does not support ASLR. This is pretty much a regression as spice client had this bug (#701111) resolved in an errata.


Version-Release number of selected component (if applicable):
mingw-virt-viewer-0.5.3-8.el6

How reproducible:
Always

How to check:
1. Get Process explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)
2. Start remote-viewer
3. Take a look at remote-viewer in Process Explorer ( enable 'ASLR enabled' column)

Expected: 

ASLR should be enabled (obviously)

Comment 6 David Blechter 2013-08-09 08:33:25 UTC
postpone it to the next release, no solution yet

Comment 8 Christophe Fergeau 2015-06-04 16:07:22 UTC
Seems like it's possible to enable ASLR with mingw-w64 builds using some hacks:
http://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/CAGFXeQKg0J+ax0Dj-cBXGGrwWT15K-aRsWWaBN6wWSDUtRHoLg@mail.gmail.com/

Comment 14 Sandro Bonazzola 2017-12-20 13:59:28 UTC
oVirt 4.2.0 has been released on Dec 20th 2017. Please consider re-targeting this bug to next milestone

Comment 15 Sandro Bonazzola 2019-01-28 09:43:45 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 20 Martin Tessun 2019-11-25 07:46:21 UTC
With the move to mingw we lost the easy ability doing ASLR. We are looking into it, but it requires changes and reviews to 68 packages.

So don't expect any solution anytime soon.

Comment 21 Frediano Ziglio 2020-08-26 13:26:59 UTC
The issue is the support in MingW, see https://github.com/msys2/MINGW-packages/issues/5719 and https://github.com/msys2/MINGW-packages/issues/3035, just a question of some flags.
-Wl,--dynamicbase,--high-entropy-va,--nxcompat seems good in Fedora 31.

Comment 22 Frediano Ziglio 2020-08-26 13:37:52 UTC
I just tried, it does not work even on Fedora 31.

Comment 23 Frediano Ziglio 2020-08-28 13:52:52 UTC
My fault, apparently now it's working https://gitlab.com/virt-viewer/virt-viewer/-/commit/28a330758faa31b93e836b2bed2ec6a30a29a123

Comment 27 Frediano Ziglio 2020-10-20 13:18:20 UTC
Tomas, you can look at Process explorer to check that the option is working.

Do we need a pm_ack?

Comment 37 errata-xmlrpc 2021-05-18 16:20:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (spice-client-win bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:1947


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