RFR: 8246348: Crash in libpango on Ubuntu 20.04 with some unicode chars
Phil Race
prr at openjdk.java.net
Thu Jun 11 23:01:20 UTC 2020
On Tue, 9 Jun 2020 19:33:01 GMT, Johan Vos <jvos at openjdk.org> wrote:
> This addresses https://bugs.openjdk.java.net/browse/JDK-8246348
modules/javafx.graphics/src/main/java/com/sun/javafx/font/freetype/PangoGlyphLayout.java line 140:
> 139: runUtf8.put(run, str);
> 140: if (check(str, "Failed allocating UTF-8 buffer.", context, desc, attrList)) {
> 141: return;
Did you really mean to store the run in the map before checking if str is null ?
-------------
PR: https://git.openjdk.java.net/jfx/pull/249
More information about the openjfx-dev
mailing list