- 01 Jan, 2020 1 commit
-
-
ShooterIT authored
-
- 28 Aug, 2019 1 commit
-
-
Yossi Gottlieb authored
-
- 04 Aug, 2019 2 commits
-
-
Yossi Gottlieb authored
This corresponds to commits d5c54f0b..bea09a7f in the redis repository.
-
Yossi Gottlieb authored
-
- 30 May, 2019 1 commit
-
-
qi.yang authored
-
- 24 Sep, 2018 1 commit
-
-
Tom Lee authored
See discussion on #609. This should also make it easier for redis to update the vendored/bundled hiredis (though not by much).
-
- 21 May, 2018 1 commit
-
-
Justin Brewer authored
This makes createArray consistent with createString, which also takes size_t. Bounds-check and unit tests are updated to allow up to min(SIZE_MAX,LLONG_MAX). Changelog is updated to mention this API break. Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
- 20 May, 2018 2 commits
-
-
michael-grunder authored
This commit pulls string2ll from Redis (with permission from Antirez) as strtoll is 2-3x slower and even worse vs the original version in hiredis that didn't check for overflow at all. By using string2ll there is almost no measurable performance impact of overflow detection even in integer parsing heavy workloads (e.g. INCRBY commands).
-
Justin Brewer authored
processMultiBulkItem truncates the value read from readLongLong, resulting in a corrupted state when the next item is read. createArray takes an int, so bound to INT_MAX. Inspection showed that processBulkItem had the same truncation issue. createString takes size_t, so bound to SIZE_MAX. This only has an effect on 32-bit platforms. A strict lower bound is also added, since negative lengths other than -1 are invalid according to RESP. Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
- 19 May, 2018 1 commit
-
-
Justin Brewer authored
Badly formatted or out-of-range integers are now protocol errors. Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
- 01 May, 2018 2 commits
-
-
Justin Brewer authored
free(NULL) is a valid NOP. Most of the hiredis free functions behave the same way. redisReaderFree is updated to also be NULL-safe. There is one redundant NULL check at sds.c:1036, but it's left as is since sds is imported from upstream. Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Justin Brewer authored
calloc is guaranteed to provide a zero-initialized buffer. There is no need to set fields to zero explicitly. Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
- 05 Jan, 2018 1 commit
-
-
cdliuqiang@gmail.com authored
-
- 11 Apr, 2016 1 commit
-
-
DongwenHuang authored
static char *seekNewline(char *s, size_t len) : this function can not parse the string,such as "hello world\r". the case that the last char is '\r'.
-
- 13 Mar, 2015 1 commit
-
-
tzickel authored
For hiredis-py and others support on windows.
-
- 05 Jan, 2015 1 commit
-
-
tzickel authored
Makes hiredis reading functions easier to include in external projects [fixed all merge conflicts against current version] Closes #249
-