Integrated: 8303475: potential null pointer dereference in filemap.cpp

Calvin Cheung ccheung at openjdk.org
Fri Apr 28 16:07:00 UTC 2023


On Fri, 28 Apr 2023 01:00:50 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this small patch which adds an assert in `SharedClassPathEntry::copy_from()` to ensure the input arg `SharedClassPathEntry* ent` is non null. This suppresses a warning from an internal static analysis tool.
> 
> Passed tiers 1 and 3 testing.

This pull request has now been integrated.

Changeset: e1196584
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e1196584d5c61e3a6baa3eb96801a518cd5dca64
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8303475: potential null pointer dereference in filemap.cpp

Reviewed-by: dholmes

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

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


More information about the hotspot-runtime-dev mailing list