Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions php_memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -3739,8 +3739,8 @@ zend_string *s_decompress_value (const char *payload, size_t payload_len, uint32
#endif

if (!is_fastlz && !is_zlib && !is_zstd) {
php_error_docref(NULL, E_WARNING, "could not decompress value: unrecognised compression type");
return NULL;
// Fall back to ZLIB.
is_zlib = 1;
}

memcpy(&stored_length, payload, sizeof (uint32_t));
Expand Down