diff options
author | Alex Smith <aes7mv@virginia.edu> | 2020-10-15 17:46:15 -0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2021-02-25 21:25:17 -0800 |
commit | f913e9b997e2cc4b847923e1b3b0649d77c85923 (patch) | |
tree | 93050af2498faa23776ff7b2899066ef963add7a /hiredis.c | |
parent | 8039c7d26c553509afe8b2dce0e9deca28957e9f (diff) |
read: Fix double validation and infinity parsing
The ',' protocol byte gets removed in processItem(), so it should not
be compared against in processLineItem().
strtod() allows multiple representations of infinity and NaN that are
not RESP3 compliant. Since we explicitly check for the two compliant
infinity cases, strtod() should only return finite values.
Diffstat (limited to 'hiredis.c')
0 files changed, 0 insertions, 0 deletions