Bug Report and patch fix
Eitan Adler
lists at eitanadler.com
Mon Aug 20 09:49:12 EST 2012
On 19 August 2012 12:48, kapil jain <jainkkapil at gmail.com> wrote:
> Hi,
>
> I reviewed my previous patch which causes scp to exit if the file does not
> exist rather than continuing the transfer if there are multiple input files.
> Here is another patch which differs from previous one in functionality that
> even if one file does not exist, continue with other input files and if
> valid, continue to upload them rather then exiting the scp program if an
> invalid file is found.
just a note: this suffers from a TOCTOU bug, though it is basically
harmless (it reverts to the current behavior).
--
Eitan Adler
More information about the openssh-unix-dev
mailing list