[ rdesktop-Patches-1657964 ] Copy causes segfault

SourceForge.net <[email protected]> Wed, 21 Dec 2011 04:55:48 -0800
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Patches item #1657964, was opened at 2007-02-12 04:57
Message generated for change (Comment added) made by astrand
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=1657964&group_id=24366

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jos Dehaes (joske)
Assigned to: Nobody/Anonymous (nobody)
Summary: Copy causes segfault

Initial Comment:
Hi,

with rdesktop 1.5.0 I always get a segfault (using rdp 5) if I select copy (ctrl-c or right-click copy). The error is here:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213683232 (LWP 24937)]
0x0805ce6b in xclip_handle_SelectionRequest (event=0xbf94b2d8) at xclip.c:806
806                             format = *(uint32 *) prop_return;


The pointer prop_return is NULL. The attached patch fixes this for me, but feel free to fix it in a better way if possible :-). 

ciao,
jos



----------------------------------------------------------------------

>Comment By: Peter Åstrand (astrand)
Date: 2011-12-21 04:55

Message:
Was fixed in r1397.

----------------------------------------------------------------------

Comment By: Michael Gernoth (stargo)
Date: 2007-03-04 04:16

Message:
Logged In: YES 
user_id=471365
Originator: NO

Fixed in current CVS, thanks

----------------------------------------------------------------------

Comment By: Michael Gernoth (stargo)
Date: 2007-03-04 03:33

Message:
Logged In: YES 
user_id=471365
Originator: NO

Fixed in current CVS, thanks

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=1657964&group_id=24366

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
rdesktop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-devel