diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2000-02-13 20:48:18 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2000-02-13 20:48:18 +0000 |
commit | 226171ceed092eb704b31f692f1ba5276e81c2ea (patch) | |
tree | fb3307518487af69a95685da26fa79b6025a4d29 /sysutils | |
parent | Fix my perl recipie. (diff) |
Fix a core dump in conjunction with -T.
PR: ports/16697
Submitted by: Udo Schweigert <ust@cert.siemens.de>
Notes
Notes:
svn path=/head/; revision=25779
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mkisofs-devel/files/patch-bb | 13 | ||||
-rw-r--r-- | sysutils/mkisofs/files/patch-bb | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/mkisofs-devel/files/patch-bb b/sysutils/mkisofs-devel/files/patch-bb new file mode 100644 index 000000000000..489189a7c10e --- /dev/null +++ b/sysutils/mkisofs-devel/files/patch-bb @@ -0,0 +1,13 @@ +--- mkisofs/tree.c.orig Mon Jan 10 23:17:25 2000 ++++ mkisofs/tree.c Sun Feb 13 21:44:15 2000 +@@ -446,8 +446,8 @@ + table->de_flags |= INHIBIT_JOLIET_ENTRY; + /* table->name = strdup("<translation table>");*/ + table->name = strdup(trans_tbl); +- table->table = (char *) e_malloc(ROUND_UP(tablesize)); +- memset(table->table, 0, ROUND_UP(tablesize)); ++ table->table = (char *) e_malloc(ROUND_UP(tablesize+1)); ++ memset(table->table, 0, ROUND_UP(tablesize+1)); + iso9660_file_length (trans_tbl, table, 0); + + if(use_RockRidge) diff --git a/sysutils/mkisofs/files/patch-bb b/sysutils/mkisofs/files/patch-bb new file mode 100644 index 000000000000..489189a7c10e --- /dev/null +++ b/sysutils/mkisofs/files/patch-bb @@ -0,0 +1,13 @@ +--- mkisofs/tree.c.orig Mon Jan 10 23:17:25 2000 ++++ mkisofs/tree.c Sun Feb 13 21:44:15 2000 +@@ -446,8 +446,8 @@ + table->de_flags |= INHIBIT_JOLIET_ENTRY; + /* table->name = strdup("<translation table>");*/ + table->name = strdup(trans_tbl); +- table->table = (char *) e_malloc(ROUND_UP(tablesize)); +- memset(table->table, 0, ROUND_UP(tablesize)); ++ table->table = (char *) e_malloc(ROUND_UP(tablesize+1)); ++ memset(table->table, 0, ROUND_UP(tablesize+1)); + iso9660_file_length (trans_tbl, table, 0); + + if(use_RockRidge) |