On Thu, 15 Sep 2022 08:05:29 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> If there is invalid tag, stack terminates but it still tries to recurse 
> through by calling legalElementContext() which results in StackOverflowError.
> Fix is to return if stack is terminated after checking current tag is not 
> valid in current context
> 
> All other test/html/parser as well as other jtreg suite tests are ok with the 
> fix.

This pull request has now been integrated.

Changeset: 7133fc93
Author:    Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/7133fc93e168f3671d048b2ae654f84ec289b98d
Stats:     57 lines in 2 files changed: 57 ins; 0 del; 0 mod

7172359: HTML parser StackOverflowError on invalid HTML: <li> tag inside an 
<option>

Reviewed-by: tr, jdv, aivanov

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

PR: https://git.openjdk.org/jdk/pull/10279

Reply via email to