]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed TLS selected_version parsing and debugging (#621)
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 6 May 2020 01:54:07 +0000 (01:54 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 6 May 2020 01:54:11 +0000 (01:54 +0000)
commit699ade2d615ee10e0ca5955abf2d7f1328cbb9ca
tree88649bd8fb7cd2fbcaf48343e8397795c40d15bd
parent05fdfe0dd61ff6eb207c53bdc7de6489fa0d2816
Fixed TLS selected_version parsing and debugging (#621)

The description of the expected input was given to the wrong parsing
function. This typo may have affected parsing because it told the TLS
version tokenizer that more data may be expected for the already fully
extracted extension. I believe that the lie could affect error
diagnostic when parsing malformed input, but had no effect on handling
well-formed TLS handshakes (other than less-specific debugging).

Detected by Coverity. CID 1462621: Incorrect expression (NO_EFFECT)

Broken by master commit cd29a42.
src/security/Handshake.cc