summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-05-24 13:16:52 -0400
committerGreg Hudson <ghudson@mit.edu>2013-05-27 12:42:59 -0400
commit1e123231769fe640f446442cb210664d280ccbac (patch)
tree3835a27f5134b6c41d2863af4fb2858b46c82117 /src/tests
parentd211001ba17fddfb952beb00118dc5c7e598355e (diff)
downloadkrb5-1e123231769fe640f446442cb210664d280ccbac.tar.gz
krb5-1e123231769fe640f446442cb210664d280ccbac.tar.xz
krb5-1e123231769fe640f446442cb210664d280ccbac.zip
Fix rc4 string-to-key on unterminated inputs
The internal UTF-8 to UCS-2 conversion functions did not properly respect their length arguments, instead assuming that the input string is terminated with a zero bytes. As a result, krb5int_arcfour_string_to_key could fail on unterminated inputs. Fix the underlying support functions to read their inputs only up to the specified length. ticket: 7643 (new)
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions