forked from enlightenment/efl
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:
parent
326e2958d7
commit
c0fc75b78d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue