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

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


On Tue, 14 Mar 2023 20:10:08 GMT, Daniel Jeliński <djelinski 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!

Congratulations to @djelinski for being promoted to an OpenJDK Reviewer!

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

PR Comment: https://git.openjdk.org/jdk/pull/13018#issuecomment-1483253260


More information about the security-dev mailing list