RFR: 8304136: Match allocation and free in sspi.cpp
Daniel Jeliński
djelinski at openjdk.org
Tue Mar 14 20:13:08 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.
LGTM. Thanks!
-------------
Marked as reviewed by djelinski (Committer).
PR: https://git.openjdk.org/jdk/pull/13018
More information about the security-dev
mailing list