summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/stack/stack.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2013-09-24 12:05:47 -0400
committerPeter Jones <pjones@redhat.com>2013-09-24 12:05:47 -0400
commit69a54db486b6b01c50d6a43294f881cfc9906268 (patch)
tree511b8b54530685a80387c5de0f3085d606ae8b98 /Cryptlib/OpenSSL/crypto/stack/stack.c
parentaf049ff4578019cc11d04bcfe0707cff5532274a (diff)
downloadefi-boot-shim-69a54db486b6b01c50d6a43294f881cfc9906268.tar.gz
efi-boot-shim-69a54db486b6b01c50d6a43294f881cfc9906268.zip
Correct limits on the length of ipv6 addresses
The maximum length of a string representation of an ipv6 address is 39 characters (8 groups of 4 hex chars, with 7 colons in between). So don't allocate more room than this - and more importantly, don't blindly accept strings from the server that are longer than our buffer...
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/stack/stack.c')
0 files changed, 0 insertions, 0 deletions