]> git.kaiwu.me - nginx.git/commit
Resolver: fixed off-by-one read in ngx_resolver_copy().
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 25 May 2021 12:17:38 +0000 (15:17 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 25 May 2021 12:17:38 +0000 (15:17 +0300)
commit077a890a76fff4f071776184aed881b5f314c98a
treed04138f8f25efa1e5cf7ad6bf9e47f5c15e8e9a0
parent9f1dcb0c0473641730b871dee984016ff19d2c53
Resolver: fixed off-by-one read in ngx_resolver_copy().

It is believed to be harmless, and in the worst case it uses some
uninitialized memory as a part of the compression pointer length,
eventually leading to the "name is out of DNS response" error.
src/core/ngx_resolver.c