[prev in list] [next in list] [prev in thread] [next in thread] 

List:       krb5-bugs
Subject:    [krbdev.mit.edu #7611] git commit
From:       "Tom Yu via RT" <rt-comment () krbdev ! mit ! edu>
Date:       2013-04-22 22:41:57
Message-ID: rt-7611-38440.14.0755901772743 () krbdev ! mit ! edu
[Download RAW message or body]


Ensure null termination of AFS salts

Use krb5int_copy_data_contents_add0 when copying a pa-pw-salt or
pa-afs3-salt value in pa_salt().  If it's an afs3-salt, we're going to
throw away the length and use strcspn in krb5int_des_string_to_key,
which isn't safe if the value is unterminated.

(cherry picked from commit f566fee75f2455d6e5e7ee4fcdf5a0d327808639)

https://github.com/krb5/krb5/commit/af1796a13c0c2878f09c3ea3dc0ae1727e324f1f
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: af1796a13c0c2878f09c3ea3dc0ae1727e324f1f
Branch: krb5-1.9
 src/lib/krb5/krb/preauth2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic