Integrated: JDK-8312512: sspi.cpp avoid some NULL checks related to free and delete

Matthias Baesken mbaesken at openjdk.org
Tue Jul 25 11:00:08 UTC 2023


On Mon, 24 Jul 2023 07:50:44 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> sspi.cpp contains the gss_export_name function, where at the end some cleanup is done by calling delete. However this should be done more careful, because the function get_full_name which is called in gss_export_name might return NULL, so we better avoid calling delete in this case.

This pull request has now been integrated.

Changeset: bd098806
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bd098806f768c6afd87cee06b983c13a471268d0
Stats:     32 lines in 1 file changed: 0 ins; 19 del; 13 mod

8312512: sspi.cpp avoid some NULL checks related to free and delete

Reviewed-by: djelinski

-------------

PR: https://git.openjdk.org/jdk/pull/14989


More information about the security-dev mailing list