CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2020/06/28 04:47:15
Modified files:
databases/redis: Makefile
Added files:
databases/redis/patches: patch-src_sentinel_c
Log message:
Avoid an out-of-bounds read in the redis-sentinel
The Redis sentinel would crash with a segfault after a few minutes because
it tried to read from a page without read permissions. Check up front
whether the sds is long enough to contain redis:slave or redis:master
before memcmp() as is done everywhere else in sentinelRefreshInstanceInfo().
>From Nam Nguyen