Changes of Revision 6
[-] [+] | Changed | php5-ssh2.spec |
[-] [+] | Added | php5-ssh2-stream-segfault-fix.patch ^ |
@@ -0,0 +1,13 @@ +--- 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); |