RFR: 8287609: Add null-check for tagsArray returned from CTFontCopyAvailableTables
Nikita Gubarkov
duke at openjdk.java.net
Wed Jun 1 08:26:33 UTC 2022
On Tue, 31 May 2022 23:39:09 GMT, Nikita Gubarkov <duke at openjdk.java.net> wrote:
> `CTFontCopyAvailableTables` can return null, which causes subsequent call to `CFArrayGetCount` to crash with SEGFAULT, just added a null-check.
I didn't find anything in documentation too, but it does return null, I checked with a debugger
-------------
PR: https://git.openjdk.java.net/jdk/pull/8962
More information about the client-libs-dev
mailing list