RFR: 7172359: HTML parser StackOverflowError on invalid HTML: <li> tag inside an <option> [v4]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Oct 14 09:06:40 UTC 2022
> 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.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
Add paranthesis
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10279/files
- new: https://git.openjdk.org/jdk/pull/10279/files/46c477d8..c56601ee
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10279&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10279&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/10279.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10279/head:pull/10279
PR: https://git.openjdk.org/jdk/pull/10279
More information about the client-libs-dev
mailing list