/trunk/vendor/phpseclib/phpseclib/phpseclib/File/ASN1.php |
---|
1402,7 → 1402,7 |
return false; |
} |
break; |
case ($c & 0x80000000) != 0: |
case ($c & (PHP_INT_SIZE == 8 ? 0x80000000 : (1 << 31))) != 0: |
return false; |
case $c >= 0x04000000: |
$v .= chr(0x80 | ($c & 0x3F)); |
/trunk/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php |
---|
2489,14 → 2489,6 |
} |
} |
if ($length > 0 && $length <= $offset - $start) { |
if ($local_file === false) { |
$content = substr($content, 0, $length); |
} else { |
ftruncate($fp, $length + $res_offset); |
} |
} |
if ($fclose_check) { |
fclose($fp); |
/trunk/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php |
---|
20,3 → 20,13 |
); |
} |
} |
// see https://github.com/php/php-src/issues/11917 |
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' && function_exists('opcache_get_status') && !defined('PHPSECLIB_ALLOW_JIT')) { |
$status = opcache_get_status(); |
if ($status && $status['jit']['enabled'] && $status['jit']['on']) { |
throw new UnexpectedValueException( |
'JIT on Windows is not currently supported' |
); |
} |
} |