RFR: 7172359: HTML parser StackOverflowError on invalid HTML: <li> tag inside an <option> [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Sep 28 13:39:45 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:
Test fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10279/files
- new: https://git.openjdk.org/jdk/pull/10279/files/4296729f..46c477d8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10279&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10279&range=01-02
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 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