Changes of Revision 6
[-] | Changed | php5-ssh2.spec |
x 1
2 Patch0: php5-ssh2-lib64.patch 3 Patch1: php5-ssh2-fixes.patch 4 Patch2: php5-ssh2-compile-fix.patch 5 +Patch3: php5-ssh2-stream-segfault-fix.patch 6 7 Summary: Bindings for the libssh2 library 8 %description 9
10 %patch0 11 %patch1 12 %patch2 13 +%patch3 14 15 %{__mkdir} %{name} 16 17 |
||
[+] | 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); |