Commit 4b0fc9fc authored by Matt Caswell's avatar Matt Caswell
Browse files

Add warning about a potential pitfall with WPACKET_allocate_bytes()



If the underlying BUF_MEM gets realloc'd then the pointer returned could
become invalid. Therefore we should always ensure that the allocated
memory is filled in prior to any more WPACKET_* calls.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent f3b3d7f0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment