summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sftp.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2eff2d437..a29fecc59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
4 [sshd.c] 4 [sshd.c]
5 fix broken fd handling in the re-exec fallback path, particularly when 5 fix broken fd handling in the re-exec fallback path, particularly when
6 /dev/crypto is in use; ok deraadt@ markus@ 6 /dev/crypto is in use; ok deraadt@ markus@
7 - djm@cvs.openbsd.org 2004/06/25 23:21:38
8 [sftp.c]
9 bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.de
7 10
820040625 1120040625
9 - (dtucker) OpenBSD CVS Sync 12 - (dtucker) OpenBSD CVS Sync
@@ -1430,4 +1433,4 @@
1430 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1433 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1431 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1434 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1432 1435
1433$Id: ChangeLog,v 1.3451 2004/06/25 22:16:31 djm Exp $ 1436$Id: ChangeLog,v 1.3452 2004/06/25 23:21:06 djm Exp $
diff --git a/sftp.c b/sftp.c
index 6639672ca..1bc91a16e 100644
--- a/sftp.c
+++ b/sftp.c
@@ -16,7 +16,7 @@
16 16
17#include "includes.h" 17#include "includes.h"
18 18
19RCSID("$OpenBSD: sftp.c,v 1.54 2004/06/22 01:16:39 djm Exp $"); 19RCSID("$OpenBSD: sftp.c,v 1.55 2004/06/25 23:21:38 djm Exp $");
20 20
21#include "buffer.h" 21#include "buffer.h"
22#include "xmalloc.h" 22#include "xmalloc.h"
@@ -428,7 +428,7 @@ get_pathname(const char **cpp, char **path)
428 i++; 428 i++;
429 if (cp[i] != '\'' && cp[i] != '\"' && 429 if (cp[i] != '\'' && cp[i] != '\"' &&
430 cp[i] != '\\') { 430 cp[i] != '\\') {
431 error("Bad escaped character '\%c'", 431 error("Bad escaped character '\\%c'",
432 cp[i]); 432 cp[i]);
433 goto fail; 433 goto fail;
434 } 434 }