Skip to content

Commit c616a1b

Browse files
committed
Fix php_memcached_server.c:589:49: warning: array subscript is above array bounds
1 parent cb7a7fd commit c616a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_memcached_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ ZEND_BEGIN_MODULE_GLOBALS(php_memcached)
165165
#endif
166166
#ifdef HAVE_MEMCACHED_PROTOCOL
167167
struct {
168-
php_memc_server_cb_t callbacks [14];
168+
php_memc_server_cb_t callbacks [MEMC_SERVER_ON_MAX];
169169
} server;
170170
#endif
171171
long store_retry_count;

0 commit comments

Comments
 (0)