Deal with empty pool in poolAppend
This commit is contained in:
parent
51b263674a
commit
eb791c7b7e
@ -1504,6 +1504,8 @@ static
|
||||
char *poolAppend(STRING_POOL *pool, const ENCODING *enc,
|
||||
const char *ptr, const char *end)
|
||||
{
|
||||
if (!pool->ptr && !poolGrow(pool))
|
||||
return 0;
|
||||
for (;;) {
|
||||
XmlConvert(enc, XML_UTF8_ENCODING, &ptr, end, &(pool->ptr), pool->end);
|
||||
if (ptr == end)
|
||||
|
Loading…
Reference in New Issue
Block a user