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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 Fromdiff --git a/third_party/libxml/src/parser.c b/third_party/libxml/src/parser .c
2 index 33786f08354d..745c3da1c72e 100644
3 --- a/parser.c
4 +++ b/parser.c
5 @@ -3426,7 +3426,7 @@ xmlParseNameComplex(xmlParserCtxtPtr ctxt) {
6 xmlFatalErr(ctxt, XML_ERR_NAME_TOO_LONG, "Name");
7 return(NULL);
8 }
9 - if ((*ctxt->input->cur == '\n') && (ctxt->input->cur[-1] == '\r')) {
10 + if (ctxt->input->cur > ctxt->input->base && (*ctxt->input->cur == '\n') && (ctxt->input->cur[-1] == '\r')) {
11 if (ctxt->input->base > ctxt->input->cur - (len + 1)) {
12 return(NULL);
13 }
14 --
15 2.12.2.715.g7642488e1d-goog
16
OLDNEW
« 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