]> git.kaiwu.me - nginx.git/commit
SSL: explicit session id length checking.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 12 Oct 2022 17:14:39 +0000 (20:14 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 12 Oct 2022 17:14:39 +0000 (20:14 +0300)
commit5c5c449ba0ba12708d2c9d121d46426eeaf911da
tree378b3885fc8804a434f37d49d87c7494c28e8c8a
parentaeae4c78453c11adc609abe9c4f8d4117ba8963b
SSL: explicit session id length checking.

Session ids are not expected to be longer than 32 bytes, but this is
theoretically possible with TLSv1.3, where session ids are essentially
arbitrary and sent as session tickets.  Since on 64-bit platforms we
use fixed 32-byte buffer for session ids, added an explicit length check
to make sure the buffer is large enough.
src/event/ngx_event_openssl.c