evas: let's be to safe than sorry.

Fix CID 1193214.
This commit is contained in:
Cedric BAIL 2014-03-20 16:50:48 +09:00
parent 15654012a6
commit fe2948be08
1 changed files with 1 additions and 0 deletions

View File

@ -2262,6 +2262,7 @@ _format_param_parse(const char *item, const char **key, Eina_Tmpstr **val)
size_t len;
start = strchr(item, '=');
if (!start) return ;
*key = eina_stringshare_add_length(item, start - item);
start++; /* Advance after the '=' */
/* If we can find a quote as the first non-space char,