diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sftp.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -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 | ||
8 | 20040625 | 11 | 20040625 |
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 $ |
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.54 2004/06/22 01:16:39 djm Exp $"); | 19 | RCSID("$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 | } |