summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2013-09-22 22:45:26 -0700
committerPeter Jones <pjones@redhat.com>2013-09-24 12:05:47 -0400
commit45ab8962ae7c8e860a45d195cfe8a3f4d8aec4c7 (patch)
tree511b8b54530685a80387c5de0f3085d606ae8b98 /MokManager.c
parent0f603fa81af99e0ed2c418cf9612314d9eec7019 (diff)
downloadefi-boot-shim-45ab8962ae7c8e860a45d195cfe8a3f4d8aec4c7.tar.gz
efi-boot-shim-45ab8962ae7c8e860a45d195cfe8a3f4d8aec4c7.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 'MokManager.c')
0 files changed, 0 insertions, 0 deletions