Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/libxml/chromium/chromium-issue-683629.patch

Issue 2804483002: Check in the libxml roll script. (Closed)
Patch Set: Code review feedback for the roll script. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxml/chromium/chromium-issue-628581.patch ('k') | third_party/libxml/chromium/roll.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxml/chromium/chromium-issue-683629.patch
diff --git a/third_party/libxml/chromium/chromium-issue-683629.patch b/third_party/libxml/chromium/chromium-issue-683629.patch
new file mode 100644
index 0000000000000000000000000000000000000000..0d0685003beea9891bafbfabcb67a790b8fecd1d
--- /dev/null
+++ b/third_party/libxml/chromium/chromium-issue-683629.patch
@@ -0,0 +1,16 @@
+Fromdiff --git a/third_party/libxml/src/parser.c b/third_party/libxml/src/parser.c
+index 33786f08354d..745c3da1c72e 100644
+--- a/parser.c
++++ b/parser.c
+@@ -3426,7 +3426,7 @@ xmlParseNameComplex(xmlParserCtxtPtr ctxt) {
+ xmlFatalErr(ctxt, XML_ERR_NAME_TOO_LONG, "Name");
+ return(NULL);
+ }
+- if ((*ctxt->input->cur == '\n') && (ctxt->input->cur[-1] == '\r')) {
++ if (ctxt->input->cur > ctxt->input->base && (*ctxt->input->cur == '\n') && (ctxt->input->cur[-1] == '\r')) {
+ if (ctxt->input->base > ctxt->input->cur - (len + 1)) {
+ return(NULL);
+ }
+--
+2.12.2.715.g7642488e1d-goog
+
« no previous file with comments | « third_party/libxml/chromium/chromium-issue-628581.patch ('k') | third_party/libxml/chromium/roll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698