Mercurial > hg > nginx-quic
comparison src/stream/ngx_stream.h @ 8481:a45b6a206cfc stable-1.20
Resolver: fixed label types handling in ngx_resolver_copy().
Previously, anything with any of the two high bits set were interpreted
as compression pointers. This is incorrect, as RFC 1035 clearly states
that "The 10 and 01 combinations are reserved for future use". Further,
the 01 combination is actually allocated for EDNS extended label type
(see RFC 2671 and RFC 6891), not really used though.
Fix is to reject unrecognized label types rather than misinterpreting
them as compression pointers.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 25 May 2021 15:17:41 +0300 |
parents | 9606d93aa586 |
children | 893b3313f53c 2ab7b55ae4a0 |
comparison
equal
deleted
inserted
replaced
8480:5d561a77502e | 8481:a45b6a206cfc |
---|