summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-03-10 17:11:26 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-03-10 17:11:26 +0000
commitfdbb50a5dcf26fd21a42577cdcde82b8fbeda6d1 (patch)
tree9061a41ca0f5f44276b9d0b1170803cbb41abe06 /libexec
parent327ae556cfccf1a9a85acb8072ad735929cc7785 (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