Integrated: 8304136: Match allocation and free in sspi.cpp

Weijun Wang weijun at openjdk.org
Fri Mar 24 18:43:11 UTC 2023


On Tue, 14 Mar 2023 14:02:43 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> After this change, `gss_buffer_t` always uses `malloc` and `free`. All others use `new` and `delete`. It also initializes several `SecBuffer` to zeroes so it's safe to check for null when trying to free them.

This pull request has now been integrated.

Changeset: 765a9425
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/765a94258d84ac6f22bb2dedd1fc1afdbabb2b14
Stats:     32 lines in 1 file changed: 12 ins; 3 del; 17 mod

8304136: Match allocation and free in sspi.cpp

Reviewed-by: djelinski

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

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



More information about the security-dev mailing list