Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix uncommon PKINIT memory leak

PKINIT per-request module data objects are normally created by
pkinit_server_verify_padata() and freed by
pkinit_server_return_padata(). In some unusual circumstances, the KDC
may not call the return_padata method after verification succeeds.
Add a free_modreq method and free the object there instead.

[ghudson@mit.edu: rewrote commit message]

https://github.com/krb5/krb5/commit/883415036a4b4e0372b84a5a6e46c10b3a67aba0
Author: sashan <anedvedicky@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 883415036a4b4e0372b84a5a6e46c10b3a67aba0
Branch: master
src/plugins/preauth/pkinit/pkinit_srv.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
From: ghudson@mit.edu
Subject: git commit

Fix uncommon PKINIT memory leak

PKINIT per-request module data objects are normally created by
pkinit_server_verify_padata() and freed by
pkinit_server_return_padata(). In some unusual circumstances, the KDC
may not call the return_padata method after verification succeeds.
Add a free_modreq method and free the object there instead.

[ghudson@mit.edu: rewrote commit message]

(cherry picked from commit 883415036a4b4e0372b84a5a6e46c10b3a67aba0)

https://github.com/krb5/krb5/commit/441736872285e6538e6b6c78eab60862d3b6dcaa
Author: sashan <anedvedicky@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 441736872285e6538e6b6c78eab60862d3b6dcaa
Branch: krb5-1.19
src/plugins/preauth/pkinit/pkinit_srv.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
From: ghudson@mit.edu
Subject: git commit

Fix uncommon PKINIT memory leak

PKINIT per-request module data objects are normally created by
pkinit_server_verify_padata() and freed by
pkinit_server_return_padata(). In some unusual circumstances, the KDC
may not call the return_padata method after verification succeeds.
Add a free_modreq method and free the object there instead.

[ghudson@mit.edu: rewrote commit message]

(cherry picked from commit 883415036a4b4e0372b84a5a6e46c10b3a67aba0)

https://github.com/krb5/krb5/commit/440c974aee745cd435d5cecc8976d7679ae1f7a6
Author: sashan <anedvedicky@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 440c974aee745cd435d5cecc8976d7679ae1f7a6
Branch: krb5-1.20
src/plugins/preauth/pkinit/pkinit_srv.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)