diff options
author | tb <> | 2021-03-21 19:08:22 +0000 |
---|---|---|
committer | tb <> | 2021-03-21 19:08:22 +0000 |
commit | eca136386e46c2c7850825330ee8c19374d1fe58 (patch) | |
tree | fdfd6c405225918efd31ae3812163a0b671e59e6 /src/lib/libssl/ssl_srvr.c | |
parent | 8e8e017672bc63d9aced0d649c8f3ec9424192e5 (diff) | |
download | openbsd-eca136386e46c2c7850825330ee8c19374d1fe58.tar.gz openbsd-eca136386e46c2c7850825330ee8c19374d1fe58.tar.bz2 openbsd-eca136386e46c2c7850825330ee8c19374d1fe58.zip |
Fully initialize rrec in tls12_record_layer_open_record_protected
The CBC code path initializes rrec.padding_length in an indirect fashion
and later makes use of it for copying the MAC. This is confusing some
static analyzers as well as people investigating the whining. Avoid this
confusion and add a bit of robustness by clearing the stack variable up
front.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions