]> 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)
commitdbd4dfd19fbd4d894f1215ea84f9c8ec2b3e84fc
tree52fe5eec0f3ec04d207320beca5b274b8c52a99c
parent7199ebc203f74fd9e44595474de6bdc41740c5cf
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