summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorAlex Smith <aes7mv@virginia.edu>2020-10-15 17:46:15 -0400
committermichael-grunder <michael.grunder@gmail.com>2021-02-25 21:25:17 -0800
commitf913e9b997e2cc4b847923e1b3b0649d77c85923 (patch)
tree93050af2498faa23776ff7b2899066ef963add7a /net.h
parent8039c7d26c553509afe8b2dce0e9deca28957e9f (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 'net.h')
0 files changed, 0 insertions, 0 deletions