mirror of
				https://gitlab.gnome.org/GNOME/libxml2.git
				synced 2025-10-24 13:33:01 +03:00 
			
		
		
		
	parser: Fix progress check when parsing character data
Skip over zero bytes to guarantee progress. Short-lived regression.
This commit is contained in:
		| @@ -400,7 +400,7 @@ xmlNextChar(xmlParserCtxtPtr ctxt) | ||||
| 	return; | ||||
|     } | ||||
|  | ||||
|     if ((*ctxt->input->cur == 0) && | ||||
|     if ((ctxt->input->cur >= ctxt->input->end) && | ||||
|         (xmlParserInputGrow(ctxt->input, INPUT_CHUNK) <= 0)) { | ||||
|         return; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user