xmlparse.cpp: add condition to avoid possible crash

pool->start seems to be a null pointer in some constellations,
memmove don't like such for parameter 2


Origin commit data
------------------
Branch: ni/coolstream
Commit: 25e752fbd8
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)



------------------
This commit was generated by Migit
This commit is contained in:
2019-10-27 22:56:48 +01:00
committed by vanhofen
parent e42605a2ea
commit d16df4139b

View File

@@ -2732,6 +2732,7 @@ static int poolGrow(STRING_POOL *pool)
tem->next=pool->blocks;
pool->blocks=tem;
if (!pool->start) return 0; //FIXME: hack: pool->start seems to be a null pointer in some constellations, memmove don't like such for parameter 2
memmove(tem->s, pool->start, (pool->ptr-pool->start)*sizeof(XML_Char));