Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 656199

Summary: [RHEL 5.6.z] rdesktop segfaults with redirect
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: rdesktopAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4CC: cmeadors, cww, dgregor, jglisse, jkoten, jwest, kem, mboisver, nenad, plyons, pm-eus, sandmann, syeghiay, tao, tgummels, tpelka, vbenes
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When connecting to a Windows Server 2008 machine, receiving a redirect could cause the rdesktop client to terminate unexpectedly with a segmentation fault. This update applies a patch that fixes this error, and receiving a redirect from Windows Server 2008 no longer causes rdesktop to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-10 09:05:56 UTC Type: ---
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: 572287    
Bug Blocks:    

Description RHEL Program Management 2010-11-23 08:10:43 UTC
This bug has been copied from bug #572287 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 4 Søren Sandmann Pedersen 2011-01-05 04:45:53 UTC
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3007933

Comment 6 Jaromir Hradilek 2011-01-10 10:33:05 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When connecting to a Windows Server 2008 machine, receiving a redirect could cause the rdesktop client to terminate unexpectedly with a segmentation fault. This update applies a patch that fixes this error, and receiving a redirect from Windows Server 2008 no longer causes rdesktop to crash.

Comment 7 Michael Boisvert 2011-01-17 20:24:19 UTC
While testing, I was able to find a segfault but it was not fixed by the installed rpm package. Are there more specific testing instructions?

Comment 8 Søren Sandmann Pedersen 2011-01-19 17:46:18 UTC
Can you test whether running 

    rdesktop 10.10.58.122 -r disk:home=./

instead of

    rdesktop 10.10.58.122 -r disk:home=.

fixes the problem? I would test myself, but I don't know the password for the test user and the screensaver has started.

Comment 9 Michael Boisvert 2011-01-19 20:31:31 UTC
Here are my results:


When using package: rdesktop-1.6.0-3.x86_64.rpm the following happened:

rdesktop directory -r disk:home=. ---> Segmentation Failure

rdesktop directory -r disk:home=./ ---> NO Failure (disk mounted)


When using package: rdesktop-1.6.0-3.el5_5.1.x86_64.rpm the following happened:

rdesktop directory -r disk:home=. ---> Segmentation Failure

rdesktop directory -r disk:home=./ ---> NO Failure (disk mounted)


So it appears that the newer package yielded no different results. Am I doing something incorrectly?

Comment 11 Søren Sandmann Pedersen 2011-01-21 21:11:09 UTC
I have built new packages, 

   rdesktop-1.6.0-3.el5_6.1

that should fix this segmentation fault, for real this time.

Comment 12 Michael Boisvert 2011-01-25 21:40:38 UTC
Bug tested in RHEL5.6.z with rdesktop-1.6.0-3.el5_6.1 32bit and 64bit versions. The package eliminated segfaults when using redirects on Windows 2008 server, Windows 7 and Windows XP. Verified.

Comment 13 errata-xmlrpc 2011-02-10 09:05:56 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0207.html