[krbdev.mit.edu #8576] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[krbdev.mit.edu #8576] git commit

Greg Hudson via RT

Make RC4 string-to-key more robust

krb5int_utf8cs_to_ucs2les() can read slightly beyond the end of the
input buffer if the buffer ends with an invalid UTF-8 sequence.  When
computing the RC4 string-to-key result, make a zero-terminated copy of
the input string and use krb5int_utf8s_to_ucs2les() instead.

(cherry picked from commit b8814745049b5f401e3ae39a81dc1e14598ae48c)

Author: Greg Hudson <[hidden email]>
Commit: 86512c5713a6e2dc39c95b30c1299a484d30d58e
Branch: krb5-1.15
 src/lib/crypto/krb/s2k_rc4.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

krb5-bugs mailing list
[hidden email]