Commit 650f842dbe131496a28284a26ed0646cd7e4af80

Nick Wellnhofer 2024-04-02T15:25:28

string: Don't validate UTF-8 in xmlUTF8Strsub Most string functions can assume valid UTF-8. In order to detect malloc failures reliably, xmlUTF8Strsub should only return NULL if the start index is out of bounds or a memory allocation failed.