mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
9c91c3b5a2
If the timeout is already >= B_INFINITE_TIMEOUT, we do not need to do any of the following math (which would usually overflow anyway) and can leave the timeout alone. Spotted by kernel undefined behavior sanitizer.