summarylogtreecommitdiffstats
path: root/ftnaddr.patch
blob: d7f09f55815dbb9628e85a696886536bf09c9021 (plain)
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)