Integrated: 8287363: null pointer should use NULL instead of 0
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Mon May 30 07:05:45 UTC 2022
On Sat, 28 May 2022 03:31:30 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
> We found using `0` as `NULL` in java_md_common.c . `0` is not a pointer, so we should use `NULL` where we want to handle it.
>
> https://github.com/openjdk/jdk/pull/8646#discussion_r882294076
>
> Also I found using `0` as NUL char in java_md_common.c , so I replaced it to `\0` in this PR.
This pull request has now been integrated.
Changeset: a27ba1a3
Author: Yasumasa Suenaga <ysuenaga at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a27ba1a3db5f0b4eb75b6cca94f33398e7b695cc
Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
8287363: null pointer should use NULL instead of 0
Reviewed-by: kbarrett, stuefe, alanb
-------------
PR: https://git.openjdk.java.net/jdk/pull/8931
More information about the core-libs-dev
mailing list