summaryrefslogtreecommitdiffstats
path: root/fuzz/corpora/asn1/0471a2db016eec09fb45db71d67ec08ca708f5df
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-06-05 23:34:57 +0200
committerKurt Roeckx <kurt@roeckx.be>2016-06-14 19:30:36 +0200
commit947f3156ecedbc62e21da3569fc291166b3bc086 (patch)
tree319270256fdc64b850c0f8ddaeeab0ea18f1ac67 /fuzz/corpora/asn1/0471a2db016eec09fb45db71d67ec08ca708f5df
parentb2e8bd7bd555ad6826dd44f38c68425d92e86e95 (diff)
Initialize the session_id
ssl_session_hash() always looks at the first 4 bytes, regardless of the length. A client can send a session id that's shorter, and the callback could also generate one that's shorter. So we make sure that the rest of the buffer is initliazed to 0 so that we always calculate the same hash. Found by tis-interpreter, also previously reported as RT #2871 Reviewed-by: Rich Salz <rsalz@openssl.org> MR: #2911
Diffstat (limited to 'fuzz/corpora/asn1/0471a2db016eec09fb45db71d67ec08ca708f5df')
0 files changed, 0 insertions, 0 deletions