Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86925 - openssh scp throws xfree NULL pointer error when forwarding is set up for a host
Summary: openssh scp throws xfree NULL pointer error when forwarding is set up for a host
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-27 20:00 UTC by Michael Tharp
Modified: 2005-11-12 20:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tharp 2005-03-27 20:00:29 UTC
scp in openssh-4.0_p1 can't seem to do any remote copies(in either direction) on two of my ~x86 machines due to an xfree NULL pointer error, to/from a particular host, when that host is configured to set up port forwards.

Reproducible: Always
Steps to Reproduce:
1. Configure a host to use port forwarding in ${HOME}/.ssh/config, ie:
Host <hostname>
LocalForward 6769 127.0.0.1:19150
2. Transfer any file to a remote machine or from a remote machine, such as:
scp <host>:file file

Actual Results:  
scp fails before asking for a password for either password-mode or keys with:
xfree: NULL pointer given as argument

Expected Results:  
scp asks for a password for the server or keys and then transfers the file.

This does not appear to occur for local transfers(file-to-file). One machine
observed is a pentium 3 733mhz, the other a P4. Both are using -O2. Problem does
not seem to occur in openssh-3.9_p1-r2. Problem occurs whether a ssh session is
already open (and thus listening on the forwarded port) or not.
Comment 1 SpanKY gentoo-dev 2005-05-02 14:55:05 UTC
Bug 79343 perhaps ?

does openssh-3.9 work ?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-11 10:21:07 UTC
Re-assign. 
Comment 3 SpanKY gentoo-dev 2005-11-12 20:16:45 UTC
try with 4.2_p1