This website works better with JavaScript.
Explore
Help
Sign In
Chiebot-Mirror
/
c-ares
mirror of
https://github.com/c-ares/c-ares.git
Watch
8
Star
0
Fork
You've already forked c-ares
0
Code
Issues
Projects
Releases
Wiki
Activity
A C library for asynchronous DNS requests (grpc依赖)
15
Commits
0
Branches
97
Tags
23 MiB
Tree:
2292e29b4b
c-ares
/
test
/
fuzznames
/
name06
1 line
14 B
Raw
Normal View
History
Unescape
Escape
Avoid buffer overflow in RC4 loop comparison (#336) The rc4 function iterates over a buffer of size buffer_len who's maximum value is INT_MAX with a counter of type short that is not guaranteed to have maximum size INT_MAX. In circumstances where short is narrower than int and where buffer_len is larger than the maximum value of a short, it may be possible to loop infinitely as counter will overflow and never be greater than or equal to buffer_len. The solution is to make the comparison be between types of equal width. This commit defines counter as an int. Fix By: Fionn Fitzmaurice (@fionn)
5 years ago
absolute.name.