You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ion_timestamp_parse requires a null terminated string and appears to expects the buffer to be a length inclusive of the null termination (there is explicit code to look for the null character within the length specified).
I will add that I believe this is an edge case where a timestamp is at the end of a buffer. There is a potential issue with the timestamp parsing routine requiring the \0 termination (so that might be the larger issue here), it should not be required due to the way Ion parsing routines work (they take a BYTE * and length irrespective of nul termination.
The following test fails:
ion_timestamp_parse
requires a null terminated string and appears to expects the buffer to be a length inclusive of the null termination (there is explicit code to look for thenull
character within the length specified).The following works (note the lack of
T
):I suspect the problem (but have not confirmed) that the problem is at
ion_timestamp
L561, where it should be going toend_of_days
, notend_of_time
.The text was updated successfully, but these errors were encountered: