diff options
| author | Greg Hudson <ghudson@mit.edu> | 2014-05-22 22:31:26 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2014-05-24 22:28:54 -0400 |
| commit | f8b42ef541a463f56720ec9358dd07716b04c5e2 (patch) | |
| tree | 2eee874c5046b75ed2fc74f9784e0e416371fe6c /src/kadmin/testing | |
| parent | ac406bac3d73a7e4efcc74adbb90c722457da969 (diff) | |
| download | krb5-f8b42ef541a463f56720ec9358dd07716b04c5e2.tar.gz krb5-f8b42ef541a463f56720ec9358dd07716b04c5e2.tar.xz krb5-f8b42ef541a463f56720ec9358dd07716b04c5e2.zip | |
Properly handle PKCS11 label in PKINIT
The CK_TOKEN_INFO label field is defined to be zero-filled, but it may
not be zero-terminated if all bytes of the field are used. Use only
length-counted operations to process it. Also avoid underrunning the
buffer pointer if the label is empty or contains only whitespace.
ticket: 7917
target_version: 1.12.2
tags: pullup
Diffstat (limited to 'src/kadmin/testing')
0 files changed, 0 insertions, 0 deletions
