Integrated: JDK-8298248: Limit sscanf output width in cgroup file parsers

Thomas Stuefe stuefe at openjdk.org
Wed Dec 7 11:16:57 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.

This pull request has now been integrated.

Changeset: 3e041eb9
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3e041eb9093275bc658c02ae74cd39b4a74684ee
Stats:     6 lines in 1 file changed: 0 ins; 0 del; 6 mod

8298248: Limit sscanf output width in cgroup file parsers

Reviewed-by: dholmes, sgehwolf

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

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


More information about the hotspot-runtime-dev mailing list