forked from enlightenment/efl
parent
5590d14689
commit
017a7d50eb
|
@ -293,3 +293,6 @@
|
|||
Fix bug in the XML parser when a tag was in a comment or a
|
||||
cdata
|
||||
|
||||
2012-06-08 Mike Blumenkrantz
|
||||
|
||||
* Prevent negative max_token count for eina_str_split functions
|
||||
|
|
|
@ -76,6 +76,7 @@ eina_str_split_full_helper(const char *str,
|
|||
size_t len, dlen;
|
||||
unsigned int tokens;
|
||||
|
||||
EINA_SAFETY_ON_TRUE_RETURN_VAL(max_tokens < 1, NULL);
|
||||
dlen = strlen(delim);
|
||||
if (dlen == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue