Skip to content
Commit b2f7609b authored by Ed Tanous's avatar Ed Tanous Committed by Ed Tanous
Browse files

Fix undefined behavior in timestamp parsing



If this algorithm ever processed a string where the + came before the .,
then dot - plus would render a negative, and overflow, causing a crash.

In practice, this doesn't happen.

Tested: Inspection only at this time.  Difficult to trigger error.

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Change-Id: Ic7f5153d144ac551118c4f4b2d61f82626ac3779
parent 6d6574c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment