summaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools-devel/files/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrtools-devel/files/patch-bb')
-rw-r--r--sysutils/cdrtools-devel/files/patch-bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-bb b/sysutils/cdrtools-devel/files/patch-bb
new file mode 100644
index 0000000..b37ea2f
--- /dev/null
+++ b/sysutils/cdrtools-devel/files/patch-bb
@@ -0,0 +1,13 @@
+--- mkisofs/tree.c.orig Thu Apr 27 11:44:57 2000
++++ mkisofs/tree.c Sat Apr 29 11:34:23 2000
+@@ -538,8 +538,8 @@
+ table->de_flags |= INHIBIT_JOLIET_ENTRY;
+ /* table->name = strdup("<translation table>");*/
+ table->name = strdup(trans_tbl);
+- table->table = (char *) e_malloc(ISO_ROUND_UP(tablesize));
+- memset(table->table, 0, ISO_ROUND_UP(tablesize));
++ table->table = (char *) e_malloc(ISO_ROUND_UP(tablesize+1));
++ memset(table->table, 0, ISO_ROUND_UP(tablesize+1));
+ iso9660_file_length(trans_tbl, table, 0);
+
+ if (use_RockRidge) {
OpenPOWER on IntegriCloud