Integrated: 8289697: buffer overflow in MTLVertexCache.m: MTLVertexCache_AddGlyphQuad
Vladimir Kempik
vkempik at openjdk.org
Fri Jul 8 09:17:26 UTC 2022
On Mon, 4 Jul 2022 15:40:56 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:
> Please review this simple patch. When running idea on jdk17 with asan I have found this buffer overflow.
> The code checks the cache for at least one free element, while placing 6 elements to the cache.
> The fix checks the presence of 6 free elements.
This pull request has now been integrated.
Changeset: d852e99a
Author: Vladimir Kempik <vkempik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d852e99ae9de4c611438c50ce37ea1806f58cbdf
Stats: 12 lines in 1 file changed: 10 ins; 0 del; 2 mod
8289697: buffer overflow in MTLVertexCache.m: MTLVertexCache_AddGlyphQuad
Reviewed-by: prr
-------------
PR: https://git.openjdk.org/jdk/pull/9368
More information about the client-libs-dev
mailing list