RFR: 8287609: Add null-check for tagsArray returned from CTFontCopyAvailableTables

Justin Senseney jsensene at gmail.com
Mon Jun 6 02:01:22 UTC 2022


Please remove me from your database

On Sat, Jun 4, 2022, 20:20 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.
>
> -------------
>
> Commit messages:
>  - 8287609: Add null-check for tagsArray returned from
> CTFontCopyAvailableTables
>
> Changes: https://git.openjdk.java.net/jdk/pull/8962/files
>  Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8962&range=00
>   Issue: https://bugs.openjdk.java.net/browse/JDK-8287609
>   Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
>   Patch: https://git.openjdk.java.net/jdk/pull/8962.diff
>   Fetch: git fetch https://git.openjdk.java.net/jdk
> pull/8962/head:pull/8962
>
> PR: https://git.openjdk.java.net/jdk/pull/8962
>



More information about the client-libs-dev mailing list