RFR: 8287609: Add null-check for tagsArray returned from CTFontCopyAvailableTables
Justin Senseney
jsensene at gmail.com
Mon Jun 6 02:01:44 UTC 2022
Please remove me from your mailing list
On Sat, Jun 4, 2022, 20:12 Phil Race <prr at openjdk.java.net> wrote:
> 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.
>
> Where do you read it can return null ?
>
>
> https://developer.apple.com/documentation/coretext/1510774-ctfontcopyavailabletables?language=objc
>
> says nothing ..
>
> -------------
>
> PR: https://git.openjdk.java.net/jdk/pull/8962
>
More information about the client-libs-dev
mailing list