hiredis icon indicating copy to clipboard operation
hiredis copied to clipboard

Minimalistic C client for Redis >= 1.2

Results 135 hiredis issues
Sort by recently updated
recently updated
newest added

The potential fault occurs at the parameter `len` of `createDoubleObject`. From the function prototype, we can see that `len` is of `size_t` type, which is known as an unsigned integer....

fix heap-buffer-overflow in https://github.com/redis/hiredis/issues/956

The subscribed message link will fail to receive messages after more than ten hours of use, and the client does not report an exception and does not display the disconnection....

Recently, we meet one issue that process running in containers against k8s infrastructure was stuck in redisAsyncConnect(). According to the traceback. it is stuck at getaddrinfo(). So shall we use...

Wrapping multi-line macros in do...while(0) statement prevents potential dangling else problem.

- redisSSLContextError must always be initialized at defintion, otherwise when SSL connect succeeds it may not be assigned to a valid error. Thus the memory trash remains in the variable,...

1、python infra/helper.py build_fuzzers --sanitizer address hiredis 2、python infra/helper.py run_fuzzer hiredis format_command_fuzzer -rss_limit_mb=0 ==13==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000024715 at pc 0x00000054f1bb bp 0x7ffc63cf1490 sp 0x7ffc63cf1488 READ of size 1 at...

I couldn't think of a better way to test this behavior, but I'm open to suggestions. This should resolve #555.

redisContext *c = redisConnect("127.0.0.1", 6379); if (c == NULL || c->err) { if (c) { printf("Error: %s\n", c->errstr); // handle error } else { printf("Can't allocate redis context\n"); } }...

# What Does This PR Do? In corporate environments with good InfoSec teams there exist pretty stringent rules on security. Some of those rules dictate what cipher suites are considered...