[Rev 02] RFR: 8246348: Crash in libpango on Ubuntu 20.04 with some unicode chars

Phil Race prr at openjdk.java.net
Fri Jun 12 18:31:04 UTC 2020


On Fri, 12 Jun 2020 14:49:50 GMT, Johan Vos <jvos at openjdk.org> wrote:

>> Oh, right. It will be a Long 0, not null. If you store it you will still have the problem I mentioned with dispose
>> unless you add back in the `str != 0` check. And you would need a check for `str != 0` in the layout method so that the
>> second time it doesn't treat it as a valid pointer. It might be safer to not store it if 0, which matches the current
>> behavior?
>
> That makes sense indeed. For the dispose call, a valid pointer is required.

I wasn't completely sure what the idea was, which is why I phrased it as a question :-)

-------------

PR: https://git.openjdk.java.net/jfx/pull/249


More information about the openjfx-dev mailing list