On Sat, 28 May 2022 03:31:30 GMT, Yasumasa Suenaga <ysuen...@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 <ysuen...@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