RFR: 8302671: libawt has a memmove decay error

Sergey Bylokhov serb at openjdk.org
Thu Feb 16 17:59:30 UTC 2023


On Thu, 16 Feb 2023 15:33:51 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> In libawt, the size parameter is issued by a sizeof on an array, which as expected decays into a pointer and breaks the cleanup code by giving the incorrect size

Does anybody know how this was found, by some tool or compiler warning?

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

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



More information about the client-libs-dev mailing list