search for: targisdir

Displaying 5 results from an estimated 5 matches for "targisdir".

Did you mean: targetdir
2003 Apr 21
0
Fix for rcp -r
...ng 4.x. I think they monitor this list so I'll let them speak up if they choose to. >--- rcp.c~ Sun Feb 16 05:11:07 2003 >+++ rcp.c Sun Feb 16 05:13:52 2003 >@@ -589,7 +591,7 @@ > off_t i, j, size; > int amt, count, exists, first, mask, mode, ofd, omode; > int setimes, targisdir, wrerrno = 0; >- char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ]; >+ char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ], path[PATH_MAX]; > > #define atime tv[0] > #define mtime tv[1] >@@ -686,21 +688,15 @@ > if (*cp++ != ' ') > SCREWUP("size no...
2019 Jan 19
2
Status of SCP vulnerability
Hello, I would like to request an update of the progress regarding fixes for the recently disclosed SCP vulnerability (CVE-2018-20685, CVE-2019-6111, CVE-2019-6109, CVE-2019-6110) It has been stated that CVE-2018-20685 has been patched in november but there are currently no information available on the progress of patches regarding the other CVEs. Will there be a patched release any time soon?
2017 Aug 04
4
Filter files received on scp server
Hey, So, I would be looking at type A. Forgive me if my understanding of how OpenSSH operates is not reflective of reality. I am assuming that, the file transfer is happening somewhat logically, with a name being known, content written, blah blah. >From reading scp.c, it appears that, the client end at least knows the file name so I must assume the server end must be given it. I am hoping to
2001 May 12
4
Erase the source file open; specify a tempfile name option
...err)); - (void) response(); + if (response() == 0 && eraseflag && !haderr) { + if (unlink(name) < 0) + run_err("%s: %s", name, strerror(errno)); + } } } @@ -656,7 +679,7 @@ int amt, count, exists, first, mask, mode, ofd, omode; off_t size; int setimes, targisdir, wrerrno = 0; - char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; + char ch, *cp, *np, *targ, *dest, *why, *vect[1], buf[2048]; struct timeval tv[2]; #define atime tv[0] @@ -770,6 +793,7 @@ np = namebuf; } else np = targ; + dest = *tmpfn? tmpfn : np; curfile = cp; exists =...
2002 Jul 13
0
[PATCH]: scp program improved
...(void) atomicio(write, remout, bp->buf, amt); else { @@ -579,8 +679,10 @@ if (result != amt) haderr = result >= 0 ? EIO : errno; statbytes += result; + bcounter += result; } } + if (showprogress) progressmeter(1); @@ -666,7 +768,8 @@ int setimes, targisdir, wrerrno = 0; char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; struct timeval tv[2]; - + int resume = 0; + #define atime tv[0] #define mtime tv[1] #define SCREWUP(str) do { why = str; goto screwup; } while (0) @@ -734,7 +837,7 @@ (void) atomicio(write, remout, "", 1)...