Initialize uninitialized string

Local string buffer was being operated without proper initialization, causing
wcslen() to operate on invalid values.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka 2015-05-10 17:56:12 -03:00
parent ab98e5ea0b
commit 89693cb2ab

@ -1141,6 +1141,8 @@ inchr theord;
fcharlist->thechar = (outchr**)myalloc(sizeof(outchr*)*charheight);
fcharlist->next = fclsave;
outline[0] = 0;
for (row=0;row<charheight;row++) {
if (myfgets(templine,MAXLEN,file)==NULL) {
templine[0] = '\0';