RFR: 8287363: null pointer should use NULL instead of 0

kristylee88 duke at openjdk.java.net
Sat May 28 09:43:30 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.

Marked as reviewed by kristylee88 at github.com (no known OpenJDK username).

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

PR: https://git.openjdk.java.net/jdk/pull/8931


More information about the core-libs-dev mailing list