Integrated: 8314148: Fix variable scope in SunMSCAPI

Daniel Jeliński djelinski at openjdk.org
Mon Aug 28 05:30:29 UTC 2023


On Fri, 11 Aug 2023 06:36:42 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> Please review this patch that fixes the scope of 2 local variables to make sure they are in scope when they are used.
> 
> The patch additionally fixes one `c++11-narrowing` Clang warning by explicitly casting string size (`size_t`) to `DWORD`.

This pull request has now been integrated.

Changeset: 12de9b02
Author:    Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/12de9b0225363377e9a76729b11698221d4f29f2
Stats:     13 lines in 3 files changed: 4 ins; 4 del; 5 mod

8314148: Fix variable scope in SunMSCAPI

Reviewed-by: valeriep

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

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



More information about the security-dev mailing list