mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
- Fixed invalid date checking
This commit is contained in:
parent
5d3636dfd2
commit
0b19747809
@ -1352,7 +1352,7 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype) /* {{{ */
|
||||
XMLRPC_VALUE v = XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
|
||||
if (v) {
|
||||
time_t timestamp = (time_t) php_parse_date((char *)XMLRPC_GetValueDateTime_ISO8601(v), NULL);
|
||||
if (timestamp) {
|
||||
if (timestamp != -1) {
|
||||
zval* ztimestamp;
|
||||
|
||||
MAKE_STD_ZVAL(ztimestamp);
|
||||
|
Loading…
Reference in New Issue
Block a user