Merge branch 'master' into php5

* master:
  SFTP: fix an issue with the stat cache
  README: update download link to latest version
This commit is contained in:
Andreas Fischer 2014-07-12 12:08:36 +02:00
commit 8e0b9b2d64
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ MIT-licensed pure-PHP implementations of an arbitrary-precision integer
arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael,
AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509 AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
* [Download (0.3.6)](http://sourceforge.net/projects/phpseclib/files/phpseclib0.3.6.zip/download) * [Download (0.3.7)](http://sourceforge.net/projects/phpseclib/files/phpseclib0.3.7.zip/download)
* [Browse Git](https://github.com/phpseclib/phpseclib) * [Browse Git](https://github.com/phpseclib/phpseclib)
* [Documentation](http://phpseclib.sourceforge.net/) * [Documentation](http://phpseclib.sourceforge.net/)
* [Support](http://www.frostjedi.com/phpbb/viewforum.php?f=46) * [Support](http://www.frostjedi.com/phpbb/viewforum.php?f=46)

View File

@ -1067,6 +1067,7 @@ class Net_SFTP extends Net_SSH2
} }
if ($dir == end($dirs)) { if ($dir == end($dirs)) {
$temp[$dir] = $value; $temp[$dir] = $value;
break;
} }
$temp = &$temp[$dir]; $temp = &$temp[$dir];
} }