JDK-8185970 : Possible crash due to use-after-free
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u131,9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-08-08
  • Updated: 2017-08-14
  • Resolved: 2017-08-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8 JDK 9
10Fixed 8u162Fixed 9.0.4Fixed
Description
This regression is introduced in webkit upgrade (r197500) and not a new regression in r212635. 

As GTK port (2.16.7) cherryrpicked below 2 changesets for the regression introduced in r197500, Proposing to merge below 2 changesets from https://trac.webkit.org/wiki/WebKitGTK/2.16.x 

���https://trac.webkit.org/changeset/213222 "Leak under Options::setOptions" 
���https://trac.webkit.org/changeset/213242 "REGRESSION(r213222) Possible use after free when setting some string based Options"

Comments
Changeset: f5ea60a40fd2 Author: mbilla Date: 2017-08-14 10:26 +0530 URL: http://hg.openjdk.java.net/openjfx/10-dev/rt/rev/f5ea60a40fd2
14-08-2017

+1
10-08-2017

I don't have any concerns with this, so don't wait for me to review.
10-08-2017

+1
09-08-2017

webrev: http://cr.openjdk.java.net/~mbilla/8185970/webrev.00/
08-08-2017