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