mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
malloc-fail: Fix buffer overread in htmlParseScript
Found by OSS-Fuzz, see #344.
This commit is contained in:
@@ -3151,8 +3151,8 @@ htmlParseScript(htmlParserCtxtPtr ctxt) {
|
||||
}
|
||||
nbchar = 0;
|
||||
}
|
||||
GROW;
|
||||
NEXTL(l);
|
||||
GROW;
|
||||
cur = CUR_CHAR(l);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user