- djm@cvs.openbsd.org 2003/10/07 07:04:16
[sftp-int.c] sftp quoting fix from admorten AT umich.edu; ok markus@
This commit is contained in:
parent
046dff2a07
commit
64dbccc2a5
|
@ -4,6 +4,9 @@
|
||||||
[sshconnect2.c]
|
[sshconnect2.c]
|
||||||
Don't use logit for banner, since it truncates to MSGBUFSIZ; bz #668 & #707.
|
Don't use logit for banner, since it truncates to MSGBUFSIZ; bz #668 & #707.
|
||||||
ok markus@
|
ok markus@
|
||||||
|
- djm@cvs.openbsd.org 2003/10/07 07:04:16
|
||||||
|
[sftp-int.c]
|
||||||
|
sftp quoting fix from admorten AT umich.edu; ok markus@
|
||||||
|
|
||||||
20031007
|
20031007
|
||||||
- (djm) Delete autom4te.cache after autoreconf
|
- (djm) Delete autom4te.cache after autoreconf
|
||||||
|
@ -1299,4 +1302,4 @@
|
||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3064 2003/10/08 07:32:02 dtucker Exp $
|
$Id: ChangeLog,v 1.3065 2003/10/08 07:34:38 dtucker Exp $
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
/* XXX: recursive operations */
|
/* XXX: recursive operations */
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sftp-int.c,v 1.62 2003/08/25 08:13:09 fgsch Exp $");
|
RCSID("$OpenBSD: sftp-int.c,v 1.63 2003/10/07 07:04:16 djm Exp $");
|
||||||
|
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
|
@ -350,6 +350,7 @@ get_pathname(const char **cpp, char **path)
|
||||||
/* Search for terminating quote, unescape some chars */
|
/* Search for terminating quote, unescape some chars */
|
||||||
for (i = j = 0; i <= strlen(cp); i++) {
|
for (i = j = 0; i <= strlen(cp); i++) {
|
||||||
if (cp[i] == quot) { /* Found quote */
|
if (cp[i] == quot) { /* Found quote */
|
||||||
|
i++;
|
||||||
(*path)[j] = '\0';
|
(*path)[j] = '\0';
|
||||||
i++;
|
i++;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue