Fixed GCC-8 warning: ‘%4d’ directive writing between 4 and 11 bytes into a region of size 6

This commit is contained in:
Branimir Karadžić 2018-12-08 16:37:53 -08:00
parent 0ecd0bb88f
commit ab0a09118e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ ReturnCode fpp_initdefines(struct Global *global)
* Define __DATE__ as today's date.
*/
dp = fpp_defendel(global, "__DATE__", FPP_FALSE);
tp = malloc(14);
tp = malloc(32);
if(!tp || !dp)
return(FPP_OUT_OF_MEMORY);
dp->repl = tp;