diff options
author | dirk <dirk@FreeBSD.org> | 2000-02-14 04:48:18 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-02-14 04:48:18 +0800 |
commit | fef73cb1009d21b7af1b4b933ee5b1dff4f7f737 (patch) | |
tree | 978bc1c3afb569f574a05c667fc7f50a8068ed2d /sysutils/mkisofs | |
parent | 2467e643a059f5566b9d14261fdf032c15991e4f (diff) | |
download | freebsd-ports-gnome-fef73cb1009d21b7af1b4b933ee5b1dff4f7f737.tar.gz freebsd-ports-gnome-fef73cb1009d21b7af1b4b933ee5b1dff4f7f737.tar.zst freebsd-ports-gnome-fef73cb1009d21b7af1b4b933ee5b1dff4f7f737.zip |
Fix a core dump in conjunction with -T.
PR: ports/16697
Submitted by: Udo Schweigert <ust@cert.siemens.de>
Diffstat (limited to 'sysutils/mkisofs')
-rw-r--r-- | sysutils/mkisofs/files/patch-bb | 13 |
1 files changed, 13 insertions, 0 deletions
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) |