Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Use gssalloc_malloc for GSS error tokens

In kg_accept_krb5, use gssalloc_malloc when allocating space for the
error token, since it will be freed with gssalloc_free. Using malloc
can cause heap corruption on Windows. This bug was masked by #1445
before 1.12.

https://github.com/krb5/krb5/commit/68cfc8b4e6338b78dce5a960ce47974a73906fac
Author: Greg Hudson <ghudson@mit.edu>
Commit: 68cfc8b4e6338b78dce5a960ce47974a73906fac
Branch: master
src/lib/gssapi/krb5/accept_sec_context.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Use gssalloc_malloc for GSS error tokens

In kg_accept_krb5, use gssalloc_malloc when allocating space for the
error token, since it will be freed with gssalloc_free. Using malloc
can cause heap corruption on Windows. This bug was masked by #1445
before 1.12.

(cherry picked from commit 68cfc8b4e6338b78dce5a960ce47974a73906fac)

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