mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-13 09:01:53 +03:00
Applied patch from John Ellson <ellson@lucent.com> closing #1646, Daniel
This commit is contained in:
@ -2642,11 +2642,7 @@ htmlCreateFileParserCtxt(const char *filename, const char *encoding)
|
||||
}
|
||||
|
||||
cnt = 0;
|
||||
#ifdef HAVE_ZLIB_H
|
||||
while(!gzeof(input)) {
|
||||
#else
|
||||
while(1) {
|
||||
#endif
|
||||
if (cnt == len) {
|
||||
len *= 2;
|
||||
nbuf = (char *)realloc(buffer,(len+1)*sizeof(char));
|
||||
|
Reference in New Issue
Block a user