|author||Rich Felker <email@example.com>||2014-09-05 13:52:20 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2014-09-05 13:52:20 -0400|
fix potential read past end of buffer in getnameinfo service name lookup
if the loop stopped due to reaching the end of the string, the subsequent increment could possibly move the position one past the end of the buffer. no further writes happen, the reads cannot fault anyway unless the stack completely lacks any zero bytes, and reading junk should not yield an incorrect result from the function either. nonetheless the code was wrong and needs to be fixed.
Diffstat (limited to 'src/aio/aio_cancel.c')
0 files changed, 0 insertions, 0 deletions