xpm_loader: Make tok larger so strcpy will fit

Found through klocwork. It seems there are more potential issues here.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
This commit is contained in:
Daniel Willmann 2013-02-18 11:48:25 +00:00
parent 326e2958d7
commit c0fc75b78d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key EINA
int pc, c, i, j, k, w, h, ncolors, cpp, comment, transp,
quote, context, len, done, r, g, b, backslash, lu1, lu2;
char *line = NULL;
char s[256], tok[128], col[256], *tl;
char s[256], tok[256], col[256], *tl;
int lsz = 256;
CMap *cmap = NULL;
Eina_Rbtree *root = NULL;