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

Hello, We are doing speed and load tests using Redis in pub/sub broker mode and Hiredis C API. The tests consists of continuously sending messages both ways from a client...

This PR adds a fuzzer that targets `redisReaderFeed`. I will add a corresponding change to [google/oss-fuzz](https://github.com/google/oss-fuzz) project when this PR is merged. There is a similar PR just for reference:...

int redisReaderGetReply(redisReader *r, void **reply) if (sdsrange(r->buf,r->pos,-1) < 0) {} after judging that the link is successful, execute hscan and return null

Reading the manpage it seems like we only need to test for `EAGAIN` but testing for both seems more prudent since this may be subtly different on more esoteric kernels...

V1.2.0 ` int redisContextConnectUnix(redisContext *c, const char *path, const struct timeval *timeout) { #ifndef _WIN32 int blocking = (c->flags & REDIS_BLOCK); struct sockaddr_un *sa; long timeout_msec = -1; if (redisCreateSocket(c,AF_UNIX)...