We ignored the boundary of the buffer we were reading in
while scanning for spaces.
lastTagHash = AlphaHash(Stop, EndTag - Stop);
// find the beginning of the value
Stop = Colon + 1;
lastTagHash = AlphaHash(Stop, EndTag - Stop);
// find the beginning of the value
Stop = Colon + 1;
- for (; isspace_ascii(*Stop) != 0; ++Stop)
+ for (; Stop < End && isspace_ascii(*Stop) != 0; ++Stop)
if (*Stop == '\n' && Stop[1] != ' ')
break;
if (Stop >= End)
if (*Stop == '\n' && Stop[1] != ' ')
break;
if (Stop >= End)