upstream commit

djm how did you make a typo like that...
This commit is contained in:
deraadt@openbsd.org 2014-08-20 01:28:55 +00:00 committed by Damien Miller
parent 57d378ec92
commit 40ba4c9733
1 changed files with 2 additions and 2 deletions

4
sftp.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: sftp.c,v 1.165 2014/08/19 23:57:18 djm Exp $ */ /* $OpenBSD: sftp.c,v 1.166 2014/08/20 01:28:55 deraadt Exp $ */
/* /*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
* *
@ -1519,7 +1519,7 @@ parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd,
err = do_df(conn, path1, hflag, iflag); err = do_df(conn, path1, hflag, iflag);
break; break;
case I_LCHDIR: case I_LCHDIR:
tmp = tilde_expand_filename(path1, getuid()) tmp = tilde_expand_filename(path1, getuid());
free(path1); free(path1);
path1 = tmp; path1 = tmp;
if (chdir(path1) == -1) { if (chdir(path1) == -1) {