RFR: 8287609: macOS: SIGSEGV at [CoreFoundation] CFArrayGetCount / sun.font.CFont.getTableBytesNative
Nikita Gubarkov
duke at openjdk.java.net
Sun Jun 5 06:38:36 UTC 2022
On Fri, 3 Jun 2022 20:48:28 GMT, Phil Race <prr at openjdk.org> wrote:
>> `CTFontCopyAvailableTables` can return null, which causes subsequent call to `CFArrayGetCount` to crash with SEGFAULT, just added a null-check.
>
> oh my gosh .. it is a font designed for PRE-macOSX . meaning mac. so it is an ATM font with a resource fork and current macOS
> still lets you install it which is a real surprise to me. That's why there are no tables.
> OK I can see why this fix is needed
@prrace could you sponsor this, please? And also I believe this should be backported, but I don't know what the process is, where can I read about it?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8962
More information about the client-libs-dev
mailing list