View | Details | Raw Unified | Return to bug 16697
Collapse All | Expand All

(-)mkisofs/patches/patch-bb (+13 lines)
Line 0 Link Here
1
--- mkisofs/tree.c.orig	Mon Jan 10 23:17:25 2000
2
+++ mkisofs/tree.c	Sun Feb 13 12:27:28 2000
3
@@ -446,8 +446,8 @@
4
       	table->de_flags    |= INHIBIT_JOLIET_ENTRY;
5
 /*      table->name = strdup("<translation table>");*/
6
       table->name = strdup(trans_tbl);
7
-      table->table = (char *) e_malloc(ROUND_UP(tablesize));
8
-      memset(table->table, 0, ROUND_UP(tablesize));
9
+      table->table = (char *) e_malloc(ROUND_UP(tablesize+1));
10
+      memset(table->table, 0, ROUND_UP(tablesize+1));
11
       iso9660_file_length  (trans_tbl, table, 0);
12
       
13
       if(use_RockRidge)

Return to bug 16697