Integrated: 8302837: Kernel32.cpp array memory release invokes undefined behaviour
Julian Waters
jwaters at openjdk.org
Tue Feb 21 12:01:44 UTC 2023
On Mon, 20 Feb 2023 07:47:48 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> When several arrays are allocated with the new operator in Kernel32, they use the wrong set of delete operators when freeing the allocated memory. In C++ this is undefined behaviour and they should be converted to use the correct operators
This pull request has now been integrated.
Changeset: 644fe0a9
Author: Julian Waters <jwaters at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/644fe0a9943e22654673265341ad922e51a78fe0
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
8302837: Kernel32.cpp array memory release invokes undefined behaviour
Reviewed-by: jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/12649
More information about the kulla-dev
mailing list