https://bugzilla.mindrot.org/show_bug.cgi?id=1768

Jakub Jelen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Jakub Jelen <[email protected]> ---
Created attachment 2523
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2523&action=edit
patch to improve error message

Hi,
I ran into this problem in RHBZ#1142223 [1] and tried to solve it.
After some time of digging in the source code I came up with solution
which I introduce here as a attachment. This added condition covers
only this one problematic case and according to regression test cases
published in portable tarbal, shouldn't bring here any regression.

Also I managed to write test case covering this problem. This file will
be attached as the second file.

Also I would like to say that the previous patch doesn't work, because
it will break recursive scp, for example:
> scp -r dir/ host:new_dir/
which is completely valid even if the new_dir doesn't exist.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1142223

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to