diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-03-10 17:11:26 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-03-10 17:11:26 +0000 |
commit | fdbb50a5dcf26fd21a42577cdcde82b8fbeda6d1 (patch) | |
tree | 9061a41ca0f5f44276b9d0b1170803cbb41abe06 /libexec | |
parent | 327ae556cfccf1a9a85acb8072ad735929cc7785 (diff) |
Add a return value check to tls13_buffer_extend().
In the unlikely event that the return value from the read callback is
larger than the number of bytes we asked for, we can end up incrementing
buf->len beyond capacity. Check the return value from the read callback to
prevent this.
ok inoguchi@ tb@
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions