diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-23 19:24:21 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-23 19:24:21 +1000 |
commit | e043e8e2211ee07e98f95fe975cca56959eb6c59 (patch) | |
tree | 862aceabb43ef9c0ce7400e1ca981033e17df61d /sftp-int.c | |
parent | 03575cc07de0c67586e56a5e1ee2d3a3ee35300c (diff) |
- (djm) Fix SSH1 challenge kludge
- (djm) Bug #671: Fix builds on OpenBSD
- (djm) Bug #676: Fix PAM stack corruption
- (djm) Fix bad free() in PAM code
- (djm) Don't call pam_end before pam_init
- (djm) Enable build with old OpenSSL again
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
Diffstat (limited to 'sftp-int.c')
-rw-r--r-- | sftp-int.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sftp-int.c b/sftp-int.c index 94299aa43..c93eaabff 100644 --- a/sftp-int.c +++ b/sftp-int.c | |||
@@ -351,6 +351,7 @@ get_pathname(const char **cpp, char **path) | |||
351 | for (i = j = 0; i <= strlen(cp); i++) { | 351 | for (i = j = 0; i <= strlen(cp); i++) { |
352 | if (cp[i] == quot) { /* Found quote */ | 352 | if (cp[i] == quot) { /* Found quote */ |
353 | (*path)[j] = '\0'; | 353 | (*path)[j] = '\0'; |
354 | i++; | ||
354 | break; | 355 | break; |
355 | } | 356 | } |
356 | if (cp[i] == '\0') { /* End of string */ | 357 | if (cp[i] == '\0') { /* End of string */ |