SOURCES: eventum-scm-parse-response.patch - add limit to explode call
glen
glen at pld-linux.org
Tue Jul 25 08:17:21 CEST 2006
Author: glen Date: Tue Jul 25 06:17:21 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add limit to explode call
---- Files affected:
SOURCES:
eventum-scm-parse-response.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/eventum-scm-parse-response.patch
diff -u SOURCES/eventum-scm-parse-response.patch:1.1 SOURCES/eventum-scm-parse-response.patch:1.2
--- SOURCES/eventum-scm-parse-response.patch:1.1 Thu Feb 9 00:26:15 2006
+++ SOURCES/eventum-scm-parse-response.patch Tue Jul 25 08:17:15 2006
@@ -5,7 +5,7 @@
$msg .= "Connection: Close\r\n\r\n";
fwrite($fp, $msg);
+ $buf = fgets($fp, 4096);
-+ list($proto, $status, $msg) = explode(' ', trim($buf));
++ list($proto, $status, $msg) = explode(' ', trim($buf), 3);
+ if ($status != '200') {
+ echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n";
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-scm-parse-response.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list