Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unsigned to signed integer conversion in syserr.getHostTranslatio…
…n(). unix.Errno is of type `uintptr`, which is an unsigned integer. It was being casted to `int`, which is a signed integer of the same size. This cast could overflow due to unsigned -> signed. Reported-by: syzbot+08e5bf6f25d7db4316b9@syzkaller.appspotmail.com PiperOrigin-RevId: 680668525
- Loading branch information