1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--- a/ftnaddr.c +++ b/ftnaddr.c @@ -245,8 +245,11 @@ } else { - char ext[] = "\0ext"; /* ".ext" */ - char pnt[] = "\0pnt/0000xxxx"; /* ".pnt..." */ + char ext[6]; /* ".ext" */ + char pnt[14]; /* ".pnt..." */ + + memset(ext, 0, 6); + memset(pnt, 0, 14); #ifdef AMIGADOS_4D_OUTBOUND if (aso)