mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
MFB: Added key_length intialization for intergers
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ PS_SERIALIZER_DECODE_FUNC(wddx)
|
||||
|
||||
switch (hash_type) {
|
||||
case HASH_KEY_IS_LONG:
|
||||
sprintf(tmp, "%ld", idx);
|
||||
key_length = sprintf(tmp, "%ld", idx) + 1;
|
||||
key = tmp;
|
||||
/* fallthru */
|
||||
case HASH_KEY_IS_STRING:
|
||||
|
||||
Reference in New Issue
Block a user