3 ms·
I haven't looked at the patch, but the error is probably overflow: too many digits to fit in the integer variable. parse_integer() presumably returns the numbe
by bdarnell 11y ago
I haven't looked at the patch, but the error is probably overflow: too many digits to fit in the integer variable.
parse_integer() presumably returns the number of bytes consumed, so the str pointer is advanced by that many bytes to point to whatever is after the integer. But on error, it returns a negative number, so str is moved backwards into some nonsensical position.