Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid signed integer overflow in ts2timo() for ts->tv_nsec
The condition would be rechecked later again after subtracting start time and most invalid inputs rejected. In corner cases the current code can accept certain invalid inputs that will pass checks later and behave like valid ones (due to signed integer overflow). Reported-by: syzbot+3a4a07b62558bbbd3baa@syzkaller.appspotmail.com
- Loading branch information