Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.5.18
:
extensions
>
php5-ssh2
> php5-ssh2-stream-segfault-fix.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-ssh2-stream-segfault-fix.patch of Package php5-ssh2
--- ssh2_fopen_wrappers.c.orig 2008-04-24 14:12:31.000000000 +0200 +++ ssh2_fopen_wrappers.c 2008-04-24 14:13:07.000000000 +0200 @@ -126,6 +126,10 @@ resource = php_url_parse(path); + if (!resource) { + return NULL; + } + if (strncmp(resource->scheme, "ssh2.", sizeof("ssh2.") - 1)) { /* Not an ssh wrapper */ php_url_free(resource);