com php-src: Fixed use of uninitliazed pointer: ext/soap/soap.c
| From: | Xinchen Hui | Date: | Fri, 13 Feb 2015 06:53:13 +0000 |
| Subject: | com php-src: Fixed use of uninitliazed pointer: ext/soap/soap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84851@lists.php.net to get a copy of this message | ||
Commit: 136594822fb1cd8e7067685d10b34a1338410027
Author: Xinchen Hui <laruence@php.net> Fri, 13 Feb 2015 14:53:13 +0800
Parents: 32244592321de7330c7d1dc534aef859ec443e41
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=136594822fb1cd8e7067685d10b34a1338410027
Log:
Fixed use of uninitliazed pointer
Changed paths:
M ext/soap/soap.c
Diff:
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 6792c32..64c79c8 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -2081,7 +2081,6 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault,
soapHeade
xmlDocPtr doc_return;
zval *agent_name;
int use_http_error_status = 1;
- zend_string *server;
soap_version = SOAP_GLOBAL(soap_version);
@@ -2096,7 +2095,6 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault,
soapHeade
use_http_error_status = 0;
}
}
- zend_string_release(server);
/*
Want to return HTTP 500 but apache wants to over write
our fault code with their own handling... Figure this out later