Projects
Mega:24.09
nekohtml
_service:tar_scm:CVE-2022-24839.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:CVE-2022-24839.patch of Package nekohtml
From a800fce3b079def130ed42a408ff1d09f89e773d Mon Sep 17 00:00:00 2001 From: Mike Dalessio <mike.dalessio@gmail.com> Date: Sun, 3 Apr 2022 19:03:39 -0400 Subject: [PATCH] fix: ensure ill-formed PIs are parsed correctly --- src/org/cyberneko/html/HTMLScanner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/cyberneko/html/HTMLScanner.java b/src/org/cyberneko/html/HTMLScanner.java index fe414a4..0519316 100644 --- a/src/org/cyberneko/html/HTMLScanner.java +++ b/src/org/cyberneko/html/HTMLScanner.java @@ -2588,7 +2588,7 @@ protected void scanPI() throws IOException { if (c == '?' || c == '/') { char c0 = (char)c; c = fCurrentEntity.read(); - if (c == '>') { + if (c == '>' || c == -1) { break; } fStringBuffer.append(c0);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2