RFR: JDK-8298248: Limit sscanf outbut width in cgroup file parsers

Severin Gehwolf sgehwolf at openjdk.org
Wed Dec 7 10:39:29 UTC 2022


On Wed, 7 Dec 2022 07:50:20 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Trivial.
> 
> GET_CONTAINER_INFO_CPTR should be called with limits for the output buffers. The usual 1K provided should be large enough normally. This just prevents intentionally malformed input from causing overwriters.

Marked as reviewed by sgehwolf (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list