- djm@cvs.openbsd.org 2004/06/25 23:21:38

[sftp.c]
     bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.de
This commit is contained in:
Damien Miller 2004-06-26 09:21:06 +10:00
parent 035a5b47cc
commit 96d6d7d9a0
2 changed files with 6 additions and 3 deletions

View File

@ -4,6 +4,9 @@
[sshd.c]
fix broken fd handling in the re-exec fallback path, particularly when
/dev/crypto is in use; ok deraadt@ markus@
- djm@cvs.openbsd.org 2004/06/25 23:21:38
[sftp.c]
bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.de
20040625
- (dtucker) OpenBSD CVS Sync
@ -1430,4 +1433,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3451 2004/06/25 22:16:31 djm Exp $
$Id: ChangeLog,v 1.3452 2004/06/25 23:21:06 djm Exp $

4
sftp.c
View File

@ -16,7 +16,7 @@
#include "includes.h"
RCSID("$OpenBSD: sftp.c,v 1.54 2004/06/22 01:16:39 djm Exp $");
RCSID("$OpenBSD: sftp.c,v 1.55 2004/06/25 23:21:38 djm Exp $");
#include "buffer.h"
#include "xmalloc.h"
@ -428,7 +428,7 @@ get_pathname(const char **cpp, char **path)
i++;
if (cp[i] != '\'' && cp[i] != '\"' &&
cp[i] != '\\') {
error("Bad escaped character '\%c'",
error("Bad escaped character '\\%c'",
cp[i]);
goto fail;
}